Advertisement

1 - 10 of 11 containing alltags:("wsagetlasterror") (0 seconds)
How can I get the Message description of an error returned from a call to WsaGetLastErorr (in run time)
Zones: C++Date Answered: 06/19/2001 Grade: C Views: 198
My DLL has to connect to a remote server over TCP/IP. That works fine. The socket connects, data can be written and read to/from the Socket. I don't know why, but when calling shutdown() it fails w...
Zones: C++Date Answered: 03/23/1999 Grade: A Views: 21
can anybody tell me what is winsock error code when i get the numeric value from WSAGetLastError()funtion == 10106 after i call the    WSASocketW(AF_ATM, SOCK_RAW, ATMPROTO             _AAL5, NU...
Zones: C++Date Answered: 06/08/2000 Grade: B Views: 0
I am trying figure out what might be wrong in my implementation of simple telnet test program . For some telnet i am getting the following exception : Socket Error :10060 Telnet failed WSAEWOUL...
Zones: C++Date Answered: 05/15/2003 Grade: A Views: 18
I have an application that uses Windows Sockets to communicate to a network device( Lantronix Print Server ).  I am currently sending approx. 200 bytes of data to this device every 30 seconds - the...
Zones: C++Date Answered: 03/05/1999 Grade: A Views: 4
We have just installed our application in about 100 user sites.(all remote) On the whole it is going OK, but a couple of users keep getting this error Can\'t connect to mySQL server on [ser...
Zones: MySQL Server, MS ServerDate Answered: 02/21/2008 Grade: A Views: 4
I am having a strange problem with the Winsock connect API. If the "connect" call fails it returns SOCKET_ERROR. The problem is that if I call WSAGetLastError after getting a SOCKET_ERROR I alwa...
Zones: Visual Basic, WinsockDate Answered: 04/08/2003 Grade: A Views: 10
Hello experts! I have the following code fragments I'm doing in a Visual C project.  What I wanted to do is Run a thread that listens to socket connections from a UNIX machine.  The function Sta...
Zones: CDate Answered: 12/13/2003 Grade: A Views: 33
Why does WinSock 2.0 send() function think  the Socket passed to it is not a socket ?  int ret = send(Socket, buf, 1, 0);   if ( SOCKET_ERROR == nRet )  // ret is  SOCKET_ERROR   {      ...
Zones: C++Date Answered: 05/31/2005 Grade: A Views: 13
According to the documentation, recv() spits out SOCKET_ERROR if an error occurs. It's doing this in my program, so I definately have an error occurring. Then the documentation says to call WSAGetL...
Zones: C++Date Answered: 08/15/2003 Grade: A Views: 0