From owner-freebsd-questions Tue Oct 8 13:18:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 689D637B401 for ; Tue, 8 Oct 2002 13:18:42 -0700 (PDT) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE97343E6A for ; Tue, 8 Oct 2002 13:18:41 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 39CC1A025; Tue, 8 Oct 2002 22:18:40 +0200 (MEST) Received: from cs.umu.se (h11n1c1o1023.bredband.skanova.com [213.64.164.11]) by grillolja.cs.umu.se (Postfix) with ESMTP id D4387A012; Tue, 8 Oct 2002 22:18:34 +0200 (MEST) Message-ID: <3DA33D91.50501@cs.umu.se> Date: Tue, 08 Oct 2002 22:18:25 +0200 From: Paul Everlund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: sv,en MIME-Version: 1.0 To: alireza mahini Cc: questions@freebsd.org Subject: Re: How i can force a stream socket to wait as limited time in accept() function? References: <20021008200436.90193.qmail@web40709.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alireza mahini wrote: > I am a C++ programmer and the platform that i develop > my project on it is FreeBSD4.4 .I am aplaying the > setsocketopt()function for seting the timeout into the > stream socket that blocked in accept() function but i > can't successful. You must include (at least part of) your source code for people here to be able to answer your question. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message