Re: Winsocket send fails



In case of synchronous I/O you can use select(...) function to check socket
for errors.

--
Volodymyr

NG tips:
http://msmvps.com/blogs/v_scherbina/pages/microsoft-newsgroups-tips.aspx
"Mandi" <mandi@xxxxxxxxxxxx> wrote in message
news:ebQlnyxRIHA.4180@xxxxxxxxxxxxxxxxxxxxxxx
I use Winsocket send but the function fails from time to time. The error
message says that its a Winsock send error, but I can't debug it farther.
Is there some api that I can use, before using the send, that exposes the
socket status, or can help in some other way?
Regards

Mandi


.



Relevant Pages

  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.development.device.drivers)
  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.win32.programmer.networks)
  • Re: Win Sock
    ... Something That Is Not a Socket" message. ... Then, instead of running NETSH to reset TCP/IP, he suggested reinstalling ... Open the properties window of the network connection (Local Area ... WinSock Fix ...
    (microsoft.public.windowsxp.newusers)
  • Re: Winsock Memory Leak
    ... urgent data from remote peer and local ... I found that there is a memory leak in my program due to Winsock 2 ... When I have a list of socket and close all of the sockets in a while ...
    (microsoft.public.win32.programmer.networks)