Le Tuesday 27 November 2007, sourav das a 嶰rit :
> hello all,
>
> i m a new comer. i wrote a raw socket client
> using setsockopt (sock, IPPROTO_IP. IPHDRINCL, ....)using UDP. ihave
> followed MS_Press network programming . it is showing 19 bytes sent
is this the best reference you found ? a better text is "Unix network
programming" by Stevens.
the canonical program using raw socket is ping, and you can find its source in
the FreeBSD src tree
Happy reading
TfH
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"