Date: Tue, 27 Nov 2007 01:31:22 -0800 (PST) From: sourav das <cyber.spike@yahoo.com> To: freebsd-hackers@freebsd.org Subject: how to write a raw socket server using UDP Message-ID: <360166.14926.qm@web45613.mail.sp1.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?360166.14926.qm>