From owner-freebsd-questions Fri Feb 18 21:32:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web121.yahoomail.com (web121.yahoomail.com [205.180.60.129]) by hub.freebsd.org (Postfix) with SMTP id 6D9AB37BB80 for ; Fri, 18 Feb 2000 21:32:08 -0800 (PST) (envelope-from wang_zb@yahoo.com) Received: (qmail 24317 invoked by uid 60001); 19 Feb 2000 05:32:07 -0000 Message-ID: <20000219053207.24316.qmail@web121.yahoomail.com> Received: from [209.148.74.1] by web121.yahoomail.com; Fri, 18 Feb 2000 21:32:07 PST Date: Fri, 18 Feb 2000 21:32:07 -0800 (PST) From: Zhibing Wang Subject: Help!!!! (Socket Programming) To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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