CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Dec 2009

    Question raw sockets in wireless network (802.11)

    I need help regarding the raw sockets in wireless (802.11 or wifi) networking.
    I want to send a packet using raw socket (on data-link-layer or layer 2) from STAtion to AP (Access Point).

    Just for info: I am using madwifi as wifi-driver on ubuntu 8.04. So, I want to send packet of ath0 of one device to ath0 of other device. Of course using raw sockets....

    I searched on the net extensively (believe me, i am doing it rigourously from last 5 days). But all I get is information regarding raw sockets in ethernet. The problem is, since packet structure of ethernet and wifi is different on data-link-layer, I may not use the code which is working perfectly for ethernet. "To use the ethernet code for wifi" is not that simple as it seems [at least for me ]. I am no more interested in ehternet raw sockets. I want exact information regarding raw sockets in wifi.

    I am not sure whether there are any dedicated libraries for this or not?
    I am not sure which libraries (or api) I have to use.

    Can anyone of you would help me in this?

    Yours Sincerely,

  2. #2
    Join Date
    Nov 2009

    Re: raw sockets in wireless network (802.11)

    I want to do similar stuff... did you find anything on it?

  3. #3
    Join Date
    Jul 2009

    Re: raw sockets in wireless network (802.11)

    Is there a way to capture packets in PPP network
    If i helped you, Please rate me

    Visit http://www.octopusplus.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.