tcp raw socket programming recvfrom()

Toni Andjelkovic toni at soth.at
Thu Jul 10 15:48:43 PDT 2003


On Wed, Jul 09 2003 (12:45:14 +0300), Alin-Adrian Anton wrote:
> Usually? What does usually mean? I know I can use bpf. But is there 
> another way to look at incoming TCP packet ? What I did is I sent a TCP 
> SYN packet and the server answers with a TCP SYN_ACK packet. How can I 
> look at the SYN_ACK packet using raw sockets?

Try libpcap or tcpdump.

Cheers,
Toni


More information about the freebsd-hackers mailing list