Hello,
My communication server program is socket-based. This server listens to a number of sockets simultaneously, and when one socket indicates that a message is available, it uses the read() system call to fetch the data.
So :
---> poll() indicates the socket on which a read is available
---> read() reads from this socket.
However sometimes the read() blocks indefinitely. It seems it has something to do with client programs disconnecting 'at the time they wanted to send information'.
We did not encounter this on Sun SOlaris / HP / Compaq OSF1.
Does anybody have an idea, or a reference to a forum on which such question is more appropriate ?
Regards,
Luc
My communication server program is socket-based. This server listens to a number of sockets simultaneously, and when one socket indicates that a message is available, it uses the read() system call to fetch the data.
So :
---> poll() indicates the socket on which a read is available
---> read() reads from this socket.
However sometimes the read() blocks indefinitely. It seems it has something to do with client programs disconnecting 'at the time they wanted to send information'.
We did not encounter this on Sun SOlaris / HP / Compaq OSF1.
Does anybody have an idea, or a reference to a forum on which such question is more appropriate ?
Regards,
Luc