(Msg. 1) Posted: Thu Jul 10, 2008 10:49 pm
Post subject: FD_ISSET not returning the read fdset when socket breaks in WinCE Add to elertz Archived from groups: microsoft>public>win95>general>discussion (more info?)
Hi,
I have an voip application that uses winsock2. In PC when i do
FD_ISSET for readFds , it returns the read fdset when the socket
connection fails(network cable unplugged) and hence when i try to do a
read operation on the returned set, i get an error.Thus enabling me to
detect the socket failure in PC.
However the same application when run in WinCE device, using the same
Winsock2, does not behave the way mentioned above. I am unable to
detect the socket failure in the WinCE device.
Why is it that the same winsock api behave differently in PC and WinCE
based device though the winsock2 apis are the same ?
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum