Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 1997 14:47:41 -0800 (PST)
From:      John-Mark Gurney <jmg@nike.efn.org>
To:        Darren Reed <avalon@coombs.anu.edu.au>
Cc:        davidn@labs.usn.blaze.net.au, freebsd-hackers@freebsd.org
Subject:   Re: "connection refused"
Message-ID:  <Pine.BSF.3.95q.970220144436.348F-100000@hydrogen.nike.efn.org>
In-Reply-To: <199702202046.MAA13840@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Feb 1997, Darren Reed
wrote:

> > it seems you can accept() a conntection... verify were it is coming from
> > and then close and it will be rejected...  as it turns out this isn't
> > true...  (I just wrote a test program to test it)...
> 
> What about if the socket accept() is using is non-blocking ?

nope...  still doesn't behave like the man page says...  basicly I close
the connection immediately after... but I still get:
Connected to metriclient-2.uoregon.edu.
Escape character is '^]'.
Connection closed by foreign host.

so the connection is still getting opened all the way...

John-Mark

gurney_j@efn.org
http://resnet.uoregon.edu/~gurney_j/
Modem/FAX: (541) 683-6954   (FreeBSD Box)

Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970220144436.348F-100000>