Spurious EBADF?
Spurious EBADF?
- Subject: Spurious EBADF?
- From: Avi Drissman <email@hidden>
- Date: Wed, 13 Nov 2002 17:47:57 -0500
I'm trying raw sockets with my server. Every so often (hours or so) I
try to read() and I get -1 back, and errno is EBADF. How that could
be so is beyond me, since I'm very carefully tracking my sockets.
The code then reasons that since an error occurred on read, it should
close the connection. So it calls close() on the socket, which
returns no error. Not even EBADF. So the socket became good again.
Has anyone heard of such problems?
Avi
--
Avi 'rlwimi' Drissman
email@hidden
Argh! This darn mail server is trunca
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.