Home page logo

wireshark logo Wireshark mailing list archives

my traffic not captured
From: "David Sheats, Friendly Computer Service" <david.sheats () yahoo com>
Date: Wed, 19 Mar 2014 10:08:44 -0400

Hi folks,

     I am writing a program that makes use of Windows Sockets, and I thought I might use Wireshark to watch the traffic 
go back and forth across my network.  However, the Shark doesn't seem to capture the packets generated by my program.  
     I send data from the client computer to the server computer using a regular TCP connection onto port 2022 of the 
server.  I know the server is receiving the information, because it is able to print it on the screen.
     Wireshark seems to be capturing other data just fine, such as HTTP traffic on port 80, and VNC traffic (I use that 
to fiddle with my server so I don't have to walk back and forth between my computers).  Switching promiscuous mode on 
or off doesn't seem to help.  Also, it doesn't seem to make a difference whether I'm running Wireshark on the client or 
the server side of the connection.

     I am wondering if maybe it's the API call I'm using.  I am using send() and recv() found in winsock2.h.  Does this 
API call somehow bypass the driver that Shark uses to capture traffic?  I'm a bit stymied, and would like to see my 
bytes flowing  :-P

Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]