Date: Fri, 18 Feb 2000 21:32:07 -0800 (PST) From: Zhibing Wang <wang_zb@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: Help!!!! (Socket Programming) Message-ID: <20000219053207.24316.qmail@web121.yahoomail.com>
next in thread | raw e-mail | index | archive | help
Hi everybody:
I am doing some simple socket programming on
FreeBSD 3.2. A client connects to a server, sends
several
packets, then waits for answer. I use send(), and
recv().
The problem is, everytime the client only sends
one
packet then segmentation falut, core dumpped. And the
server ( recv() used in a loop) received that packet a
thousand times.
Please tell me what's worng wiht me. It is really
painful.
Thanx a lot!!
Zhibing
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000219053207.24316.qmail>
