[RESOLVED] tcp send() problem
Hello all,
The code below connects to a tcp server I have running on my local machine and attempts to send a test message. For some reason the server never seemed to be getting the message so I ran Wireshark to see if it was being sent, but I can not see it. Maybe it doesnt show up on Wireshark if the server and client are both running on 127.0.0.1? Any idea what might be wrong with my tcp client code? I am not getting any errors from the system calls.. the connect() and send() seem to be working.. Anyone have any ideas?
Thanks!
Re: [RESOLVED] tcp send() problem
If you want to sniff your local machine (without using the network), you have the select the "lo" (or loop back) interface in Wireshack. ;)