Author |
Message
|
csmith28 |
Posted: Thu Feb 03, 2005 4:00 pm Post subject: W2k TCP/IP Return code 10054 |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Where is the file that contains the TCP/IP Return Codes on W2k Servers or what is the name of the file so I can search for it.
I am getting 10054 TCP/IP return code and I suspect this is a "connection reset by pier" but not sure.
Thanks. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
JT |
Posted: Thu Feb 03, 2005 4:24 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
I believe they can be found in the file: 'WinError.h', but I could be wrong. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Feb 03, 2005 4:38 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Thanks, I'll have a look see... _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
JT |
Posted: Thu Feb 03, 2005 4:43 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
.....by the way, your suspicion is correct, the 10054 error is:
Quote: |
An existing connection was forcibly closed by the remote host. |
|
|
Back to top |
|
 |
csmith28 |
Posted: Thu Feb 03, 2005 4:43 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
I searched for winerror, "no results to display"
Thanks for trying,.. Bob, tell him what he's won. =] _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Feb 04, 2005 5:53 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
|
Back to top |
|
 |
bower5932 |
Posted: Fri Feb 04, 2005 6:09 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
On Windows, try winsock.h:
winsock.h:#define WSAECONNRESET (WSABASEERR+54) |
|
Back to top |
|
 |
csmith28 |
Posted: Fri Feb 04, 2005 10:13 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Thanks guys.
Ok, heres what I have for Unix and Windows:
Code: |
Unix
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */
#define ESRCH 3 /* No such process */
#define EINTR 4 /* interrupted system call */
#define EIO 5 /* I/O error */
#define ENXIO 6 /* No such device or address */
#define E2BIG 7 /* Arg list too long */
#define ENOEXEC 8 /* Exec format error */
#define EBADF 9 /* Bad file descriptor */
#define ECHILD 10 /* No child processes */
#define EAGAIN 11 /* Resource temporarily unavailable */
#define ENOMEM 12 /* Not enough space */
#define EACCES 13 /* Permission denied */
#define EFAULT 14 /* Bad address */
#define ENOTBLK 15 /* Block device required */
#define EBUSY 16 /* Resource busy */
#define EEXIST 17 /* File exists */
#define EXDEV 18 /* Improper link */
#define ENODEV 19 /* No such device */
#define ENOTDIR 20 /* Not a directory */
#define EISDIR 21 /* Is a directory */
#define EINVAL 22 /* Invalid argument */
#define ENFILE 23 /* Too many open files in system */
#define EMFILE 24 /* Too many open files */
#define ENOTTY 25 /* Inappropriate I/O control operation */
#define ETXTBSY 26 /* Text file busy */
#define EFBIG 27 /* File too large */
#define ENOSPC 28 /* No space left on device */
#define ESPIPE 29 /* Invalid seek */
#define EROFS 30 /* Read only file system */
#define EMLINK 31 /* Too many links */
#define EPIPE 32 /* Broken pipe */
#define EDOM 33 /* Domain error within math function */
#define ERANGE 34 /* Result too large */
#define ENOMSG 35 /* No message of desired type */
#define EIDRM 36 /* Identifier removed */
#define ECHRNG 37 /* Channel number out of range */
#define EL2NSYNC 38 /* Level 2 not synchronized */
#define EL3HLT 39 /* Level 3 halted */
#define EL3RST 40 /* Level 3 reset */
#define ELNRNG 41 /* Link number out of range */
#define EUNATCH 42 /* Protocol driver not attached */
#define ENOCSI 43 /* No CSI structure available */
#define EL2HLT 44 /* Level 2 halted */
#define EDEADLK 45 /* Resource deadlock avoided */
#define ENOTREADY 46 /* Device not ready */
#define EWRPROTECT 47 /* Write-protected media */
#define EFORMAT 48 /* Unformatted media */
#define ENOLCK 49 /* No locks available */
#define ENOCONNECT 50 /* no connection */
#define ESTALE 52 /* no filesystem */
#define EDIST 53 /* old, currently unused AIX errno*/
#define EINPROGRESS 55 /* Operation now in progress */
#define EALREADY 56 /* Operation already in progress */
#define ENOTSOCK 57 /* Socket operation on non-socket */
#define EDESTADDRREQ 58 /* Destination address required */
#define EDESTADDREQ EDESTADDRREQ /* Destination address required */
#define EMSGSIZE 59 /* Message too long */
#define EPROTOTYPE 60 /* Protocol wrong type for socket */
#define ENOPROTOOPT 61 /* Protocol not available */
#define EPROTONOSUPPORT 62 /* Protocol not supported */
#define ESOCKTNOSUPPORT 63 /* Socket type not supported */
#define EOPNOTSUPP 64 /* Operation not supported on socket */
#define EPFNOSUPPORT 65 /* Protocol family not supported */
#define EAFNOSUPPORT 66 /* Address family not supported by protocol family */
#define EADDRINUSE 67 /* Address already in use */
#define EADDRNOTAVAIL 68 /* Can't assign requested address */
#define ENETDOWN 69 /* Network is down */
#define ENETUNREACH 70 /* Network is unreachable */
#define ENETRESET 71 /* Network dropped connection on reset */
#define ECONNABORTED 72 /* Software caused connection abort */
#define ECONNRESET 73 /* Connection reset by peer */
#define ENOBUFS 74 /* No buffer space available */
#define EISCONN 75 /* Socket is already connected */
#define ENOTCONN 76 /* Socket is not connected */
#define ESHUTDOWN 77 /* Can't send after socket shutdown */
#define ETIMEDOUT 78 /* Connection timed out */
#define ECONNREFUSED 79 /* Connection refused */
#define EHOSTDOWN 80 /* Host is down */
#define EHOSTUNREACH 81 /* No route to host */
#define EPROCLIM 83 /* Too many processes */
#define EUSERS 84 /* Too many users */
#define ELOOP 85 /* Too many levels of symbolic links */
#define ENAMETOOLONG 86 /* File name too long */
#define ENOTEMPTY 87
#define EDQUOT 88 /* Disc quota exceeded */
#define ECORRUPT 89 /* Invalid file system control data */
#define EREMOTE 93 /* Item is not local to host */
#define ENOSYS 109 /* Function not implemented POSIX */
#define EMEDIA 110 /* media surface error */
#define ESOFT 111 /* I/O completed, but needs relocation */
#define ENOATTR 112 /* no attribute found */
#define ESAD 113 /* security authentication denied */
#define ENOTRUST 114 /* not a trusted program */
#define ETOOMANYREFS 115 /* Too many references: can't splice */
#define EILSEQ 116 /* Invalid wide character */
#define ECANCELED 117 /* asynchronous i/o cancelled */
#define ENOSR 118 /* temp out of streams resources */
#define ETIME 119 /* I_STR ioctl timed out */
#define EBADMSG 120 /* wrong message type at stream head */
#define EPROTO 121 /* STREAMS protocol error */
#define ENODATA 122 /* no message ready at stream head */
#define ENOSTR 123 /* fd is not a stream */
#define ECLONEME ERESTART /* this is the way we clone a stream ... */
#define ENOTSUP 124 /* POSIX threads unsupported value */
#define EMULTIHOP 125 /* multihop is not allowed */
#define ENOLINK 126 /* the link has been severed */
#define EOVERFLOW 127 /* value too large to be stored in data type */
Windows
10004 WSAEINTR -- Interrupted function call.
10013 WSAEACCES -- Permission denied.
10014 WSAEFAULT -- Bad address.
10022 WSAEINVAL -- Invalid argument.
10024 WSAEMFILE -- Too many open files. Actually, it's too many open sockets.
10035 WSAEWOULDBLOCK -- Resource temporarily unavailable.
10036 WSAEINPROGRESS -- Operation now in progress. A blocking operation is in progress.
10037 WSAEALREADY -- Operation already in progress.
10038 WSAENOTSOCK -- Socket operation on non-socket.
10039 WSAEDESTADDRREQ -- Destination address required.
10040 WSAEMSGSIZE -- Message too long.
10041 WSAEPROTOTYPE -- Protocol wrong type for socket.
10042 WSAENOPROTOOPT -- Bad protocol option.
10043 WSAEPROTONOSUPPORT -- Protocol not supported.
10044 WSAESOCKTNOSUPPORT -- Socket type not supported.
10045 WSAEOPNOTSUPP -- Operation not supported.
10046 WSAEPFNOSUPPORT -- Protocol family not supported.
10047 WSAEAFNOSUPPORT -- Address family not supported by protocol family.
10048 WSAEADDRINUSE -- Address is already in use. If you attempt to set up a server on a port that is already is in use, you will get this error.
10049 WSAEADDRNOTAVAIL -- Cannot assign requested address.
10050 WSAENETDOWN -- Network is down.
10051 WSAENETUNREACH -- Network is unreachable.
10052 WSAENETRESET -- Network dropped connection on reset.
10053 WSAECONNABORTED -- Software caused the connection to abort. A connection that has been made was aborted, usually due to connection or protocol error.
10054 WSAECONNRESET -- Connection reset by peer. This occurs when an established connection is shut down for some reason by the remote computer.
10055 WSAENOBUFS -- No buffer space available.
10056 WSAEISCONN -- Socket is already connected.
10057 WSAENOTCONN -- Socket is not connected.
10058 WSAESHUTDOWN -- Cannot send after socket shutdown.
10060 WSAETIMEDOUT -- Connection timed out.
10061 WSAECONNREFUSED -- Connection refused. You will usually see this error when a server refuses a connection from a client, because the server is not listening on that port.
10064 WSAEHOSTDOWN -- Host is down.
10065 WSAEHOSTUNREACH -- No route to host.
10067 WSAEPROCLIM -- Too many processes.
10091 WSASYSNOTREADY -- Network subsystem is unavailable.
10092 WSAVERNOTSUPPORTED -- Unsupported version of WINSOCK.DLL.
10093 WSANOTINITIALISED -- Successful WSAStartup not yet performed. TCP networking has not been initialized on your computer.
10094 WSAEDISCON -- Graceful shutdown in progress.
11001 WSAHOST_NOT_FOUND -- Host not found. (DNS error.)
11002 WSATRY_AGAIN -- Non-authoritative host not found. Temporary DNS error.
11003 WSANO_RECOVERY -- Non-recoverable error. (DNS error.)
11004 WSANO_DATA -- Valid name, no data record of requested type. (DNS error). |
_________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|