troubleshooting Question

Error 10035 sending via Winsock

Avatar of djdj
djdjFlag for United States of America asked on
Microsoft Development
4 Comments1 Solution2672 ViewsLast Modified:
I'm working an an application that sends files back and forth between PCs on a network via TCP/IP.

I have a one TCP server control and one TCP client control.  They are connectiong okay, authentication and everything are working great.  And so is sending a file using the client to the server.  And even sending small files from the server to the client.  But when the file size exceeds a few hundred KB I get an error 10035 (WSAEWOULDBLOCK) and after that point I can't do anything to get data sent from the server to the client.  Every call to recv with this socket returns this error, no matter how long I wait, until I close the connection and try again.

The funny thing is the code I'm using to send via the client to the server is nearly identical and works perfectly.

Any ideas?  Why would I be getting this error?  And is there a way to prevent it?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros