Home > Net >  The application does not call WSAStartup, or WSAStartup failed
The application does not call WSAStartup, or WSAStartup failed

Time:09-22

I write c # program, suddenly an error in the operation process, to the SQL requests data will also be an error, an error is:
1. "application does not call WSAStartup, or WSAStartup failed"
2. The "transport level error occurred when receiving results from the server, (the provider: TCP provider, error: 0 - application does not call WSAStartup, or WSAStartup failed,)"
3. The "transport level error occurred when receiving results from the server, (the provider: TCP provider, error: 0 - by the local system to suspend the network connection,)"
4. CWBCO1003 - Sockets error, the function returned 10093, 10.1.10.1

What a great god know, how to deal with, can provide the c # the best solution

CodePudding user response:

Your program should be invoked the c + +, but c + + program did not initialize the Socket, change to the c + + code or pure in c # to achieve communication

CodePudding user response:

Whether calls to the c/c + + DLL
Normally this thing won't appear in the c #
  •  Tags:  
  • C#
  • Related