jasonzhangx
Programmer
I am using winsock's send function to send msgs. I set the socket as nonblocking and and buff size (option SO_SNDBUF) as 2048. All msgs's length are the same and less than 2048. My program runs in about 14 hours and got WSAENOBUFS error (no buffer space is available).
If the option SO_SNDBUF is not set, the program would get WSAEWOULDBLOCK error every 30 minutes or so.
Any suggestions will be greatly appreciated.
Jason
If the option SO_SNDBUF is not set, the program would get WSAEWOULDBLOCK error every 30 minutes or so.
Any suggestions will be greatly appreciated.
Jason