Detecting socket is closed
Detecting socket is closed
- Subject: Detecting socket is closed
- From: Mark Thomas <email@hidden>
- Date: Wed, 05 Jul 2006 18:16:11 +0100
- Organization: Coderus Ltd
Hi,
Is there a way to tell that a socket has been closed ?, as I¹m seeing if I
try writing to socket which has been closed down it will crash out causing a
SIGPIPE. I thought something in ioctl would help for this but nothing seems
obvious from looking at man and headers files
I using a socket in tcp mode if that helps.
Any Idea¹s
Thanks
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden