Prev Previous Post   Next Post Next

Socket blocking issue on windows VISTA

Posted: 09-18-2008, 10:15 AM
Dear Sir/Mam,

I have written a server code using the Windows Socket API's. Wherein I have
created the socket and bound it to a particular IP address and port number.
Later I have made the socket in non-blocking mode by using the proper socket
option ( i.e. SO_RCVTIMEO). After which with the use of recv() I am trying to
get into the receive mode. Here as the receive time out is being used the
socket should come out of the block mode after the time out value. But this
is not happening here, instead the socket is always in the blocking mode.

I am facing this kind of an issue only on few of the VISTA systems. Whereas
on few other VISTA systems it is working fine (means we are ableto switch
between block and non-block modes).
But there is no problem on any of the XP systems.

If I use the Ioctl() function then socket come out from blocking mode in
VISTA or XP but if I use the setsocketoption then socket is getting block
only on some VISTA system.

Could you please provide me with information related to this and help in
deriving a proper conclusion.

Thanks in advance,
Reply With Quote

Responses to "Socket blocking issue on windows VISTA"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory configurations in socket?2x256 socket 1/3 and 2x512 socket GT Windows Vista Hardware & Devices 1 11-25-2007 06:18 AM
blocking issue snook Windows XP Basics 2 11-26-2003 07:56 PM
Blocking issue - upgrading from Windows 98 to XP Vadeser Windows XP Setup 1 11-09-2003 10:34 PM
Windows Socket error: Only one usage of each socket address ... Ron Reynolds Windows XP Performance & Maintenance 0 08-09-2003 03:39 AM
Installation Blocking Issue with Windows XP dan Windows XP Setup 0 08-04-2003 05:54 AM