how to write a raw socket server using UDP

Edwin Groothuis edwin at mavetju.org
Tue Nov 27 15:44:50 PST 2007


On Tue, Nov 27, 2007 at 01:31:22AM -0800, sourav das wrote:
>      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 successfully. when 
> trying to send more than 19 bytes using     sendto(sock, ...) function , it is 
I use net/libdnet for all my IP/UDP/TCP/etc packet creation
requirements.

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the freebsd-hackers mailing list