Original Post
Hi
I wana increase the send buffer, for a non-blocking socket. Since it fails if i send a lot of data. It works if I add some "sleeps". It works fine in blocked mode.
I use this code to make my socket non-blocked:
bool true_value = true; setsockopt(m_sockSocket, SOL_SOCKET, SO_REUSEADDR, (char *) &true_value, sizeof (true_value)); ioctlsocket(m_sockSocket, FIONBIO, (unsigned long *)&true_value);[edited by - zoot on October 18, 2003 5:05:52 PM]