On Sun, 1 Apr 2001 02:15 +1000, john slee wrote:
> On Sat, Mar 31, 2001 at 06:44:20PM +0300, Radu Greab wrote:
> > Sorry if this is already known: on a RH 7.0 system with kernel 2.4.2
> > or 2.4.3, a select on an unconnected socket incorrectly says that the
> > socket i
output:
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
select(4, [3], [3], [3], {0, 0})= 2 (in [3], out [3], left {0, 0})
read(3, 0xb668, 1024) = -1 ENOTCONN (Transport endpoint is not
connected)
I attached a small example program to reproduce the bug.
Thanks,
Radu Greab
PS
2 matches
Mail list logo