how to write a raw socket server using UDP



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 successfully. when
trying to send more than 19 bytes using sendto(sock, ...) function , it is
showing socket error on sending. i want to know how to write a raw socket server
program so that to catch and display the data sent by the client.



thanks a lot,

keep fit,



regards,

spike.




____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages