[851] in linux-net channel archive
Re: "connection refused" on recvfrom!?
daemon@ATHENA.MIT.EDU (Matthias Urlichs)
Mon Aug 7 16:03:59 1995
To: submit-linux-dev-net@ratatosk.yggdrasil.com
From: urlichs@smurf.noris.de (Matthias Urlichs)
Date: 7 Aug 1995 12:32:08 +0200
In linux.dev.net, article <Pine.LNX.3.91.950801152456.27843C-100000@wingnut.foxnet.net>,
Avery Pennarun <apenwarr@foxnet.net> writes:
>
> Should select() say there's data ready and then cause recv() to return an
> error? Seems rather strange.
select() returning doesn't say there's data ready, it says a subsequent
read()/recvfrom()/... on the file descriptor won't block.
--
Q: What do you have when you have a lawyer buried up to his neck in sand?
A: Not enough sand.
--
Matthias Urlichs \ XLink-POP Nürnberg | EMail: urlichs@smurf.noris.de
Schleiermacherstraße 12 \ Unix+Linux+Mac | Phone: ...please use email.
90491 Nürnberg (Germany) \ Consulting+Networking+Programming+etc'ing 42
PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="http://smurf.noris.de/~urlichs/finger">here</A>.