beckhoff TwinCAT — 3 Win32 Error Codes

Win32 Error Codes Diagnostics 53 Version: 1.0 Error Description decimal Hexadecimal Name 9902 0x000026AE DNS ERROR DP ALREADY EXISTS _ _ _ _ The specified directory partition already exists. 9903 0x000026AF DNS ERROR DP NOT ENLISTED _ _ _ _ The DS is not enlisted in the specified directory partition. 9904 0x000026B0 DNS ERROR DP ALREADY ENLISTED _ _ _ _ The DS is already enlisted in the specified direc- tory partition. Error Description decimal Hexadecimal Name 10004 0x00002714 WSAEINTR A blocking operation was interrupted by a call to WSACancelBlockingCall. 10009 0x00002719 WSAEBADF The file handle supplied is not valid.

10013 0x0000271D WSAEACCES An attempt was made to access a socket in a way forbidden by its access permissions. 10014 0x0000271E WSAEFAULT The system detected an invalid pointer address in attempting to use a pointer argument in a call. 10022 0x00002726 WSAEINVAL An invalid argument was supplied. 10024 0x00002728 WSAEMFILE Too many open sockets. 10035 0x00002733 WSAEWOULDBLOCK A non-blocking socket operation could not be completed immediately. 10036 0x00002734 WSAEINPROGRESS A blocking operation is currently executing. 10037 0x00002735 WSAEALREADY An operation was attempted on a non-blocking socket that already had an operation in progress.

10038 0x00002736 WSAENOTSOCK An operation was attempted on something that is not a socket. 10039 0x00002737 WSAEDESTADDRREQ A required address was omitted from an operation on a socket. 10040 0x00002738 WSAEMSGSIZE A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a data- gram into was smaller than the datagram itself. 10041 0x00002739 WSAEPROTOTYPE A protocol was specified in the socket function call that does not support the semantics of the socket type requested. 10042 0x0000273A WSAENOPROTOOPT An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call.

10043 0x0000273B WSAEPROTONOSUPPORT The requested protocol has not been configured into the system, or no implementation for it exists. 10044 0x0000273C WSAESOCKTNOSUPPORT The support for the specified socket type does not exist in this address family. 10045 0x0000273D WSAEOPNOTSUPP The attempted operation is not supported for the type of object referenced. 10046 0x0000273E WSAEPFNOSUPPORT The protocol family has not been configured into the system or no implementation for it exists. 10047 0x0000273F WSAEAFNOSUPPORT An address incompatible with the requested pro- tocol was used.

10048 0x00002740 WSAEADDRINUSE Only one usage of each socket address (protocol/ network address/port) is normally permitted. 10049 0x00002741 WSAEADDRNOTAVAIL The requested address is not valid in its context. 10050 0x00002742 WSAENETDOWN A socket operation encountered a dead network. 10051 0x00002743 WSAENETUNREACH A socket operation was attempted to an unreach- able network. 10052 0x00002744 WSAENETRESET The connection has been broken due to keep- alive activity detecting a failure while the opera- tion was in progress. 10053 0x00002745 WSAECONNABORTED An established connection was aborted by the software in your host machine.

10054 0x00002746 WSAECONNRESET An existing connection was forcibly closed by the remote host. 10055 0x00002747 WSAENOBUFS An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. 10056 0x00002748 WSAEISCONN A connect request was made on an already con- nected socket.