Dear networkers,
there is a problem in connect() syscall, which can be reproduced
on a box running without default route.
According to POSIX, connect() must return if ENETUNREACH, if a route to
destination was not found.
http://www.opengroup.org/onlinepubs/95399/functions/connect.html
Dear sirs,
as it is described in connect(2):
ERRORS
The connect() call fails if:
...
[ENETUNREACH] The network is not reachable from this host.
[EHOSTUNREACH] The remote host is not reachable from this host.
However, this sample program (attached) shows that conn