Re: "connection refused" on recvfrom!?

Matthias Urlichs (urlichs@smurf.noris.de)
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>.