CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    Kuwait
    Posts
    170

    Wifi Packet Sniffer

    Hi,
    I am trying to find a solution to read the packet destination for an internet connection through wifi. I am able to do the same for a lan connection using packet sniffer example. But the same is not working for wifi connection.
    Code:
      mainSocket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.IP);
    The above code is used for LAN . what is to be done for Wifi Packet Sniffer
    If i helped you, Please rate me

    Visit http://www.octopusplus.com

  2. #2
    Join Date
    Jul 2009
    Location
    Kuwait
    Posts
    170

    Re: Wifi Packet Sniffer

    I found it that the connection for which i am trying to read packet is a WCDMA (PPP) type. Is there a way to read the destination ip originated from this type of connection
    If i helped you, Please rate me

    Visit http://www.octopusplus.com

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured