[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

send() returns 0 even though data is sent

Asked by AdrianBrown in Winsock, C Programming Language, TCP/IP

Tags: winsock, windows, c

Ive got a server/client winsock application that is using TCPNODELAY, ive got a problem that the send function from the server is trying to send 27 bytes but the return value is 0, yet the client does recieve 27 bytes.  Infact it seems send always returns 0 bytes.  Is this because of the TCPNODELAY flag?  If so how do you tell how many bytes were actually sent?
[+][-]08/26/09 06:28 AM, ID: 25187347Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625