PLCnext API Documentation 25.0.2.69
IpcSocketError.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8
9namespace Arp { namespace System { namespace Commons { namespace Ipc
10{
11
14{
16 None = 0,
18 Any = -1,
20 Success = 0,
22 Unspecified = -1,
24 Interrupted = (10000 + 4), //WSAEINTR
26 InvalidArgument = (10000 + 22), //WSAEINVAL
28 TooManyOpenSockets = (10000 + 24), //WSAEMFILE
30 WouldBlock = (10000 + 35), //WSAEWOULDBLOCK
32 InProgress = (10000 + 36), //WSAEINPROGRESS
34 AlreadyInProgress = (10000 + 37), //WSAEALREADY
36 NotSocket = (10000 + 38), //WSAENOTSOCK
38 DestinationAddressRequired = (10000 + 39), //WSAEDESTADDRREQ
43 MessageSize = (10000 + 40), //WSAEMSGSIZE
48 ProtoType = (10000 + 41), //WSAEPROTOTYPE
50 ProtocolOption = (10000 + 42), //WSAENOPROTOOPT
52 ProtocolNotSupported = (10000 + 43), //WSAEPROTONOSUPPORT
54 SocketNotSupported = (10000 + 44), //WSAESOCKTNOSUPPORT
56 OperationNotSupported = (10000 + 45), //WSAEOPNOTSUPP
58 ProtocolFamilyNotSupported = (10000 + 46), //WSAEPFNOSUPPORT
60 AddressFamilyNotSupported = (10000 + 47), //WSAEAFNOSUPPORT
62 AddressAlreadyInUse = (10000 + 48), //WSAEADDRINUSE
64 AddressNotAvailable = (10000 + 49), //WSAEADDRNOTAVAIL
66 NetworkDown = (10000 + 50), //WSAENETDOWN
68 NetworkUnreachable = (10000 + 51), //WSAENETUNREACH
70 NetworkReset = (10000 + 52), //WSAENETRESET
72 ConnectionAborted = (10000 + 53), //WSAECONNABORTED
74 ConnectionReset = (10000 + 54), //WSAECONNRESET
76 NoBufferSpaceAvailable = (10000 + 55), //WSAENOBUFS
78 IsConnected = (10000 + 56), //WSAEISCONN
83 NotConnected = (10000 + 57), //WSAENOTCONN
88 Shutdown = (10000 + 58), //WSAESHUTDOWN
93 TimedOut = (10000 + 60), //WSAETIMEDOUT
95 ConnectionRefused = (10000 + 61), //WSAECONNREFUSED
97 HostDown = (10000 + 64), //WSAEHOSTDOWN
99 HostUnreachable = (10000 + 65), //WSAEHOSTUNREACH
101 ProcessLimit = (10000 + 67), //WSAEPROCLIM
106 SystemNotReady = (10000 + 91), //WSASYSNOTREADY
108 VersionNotSupported = (10000 + 92), //WSAVERNOTSUPPORTED
110 NotInitialized = (10000 + 93), //WSANOTINITIALISED
112 Disconnecting = (10000 + 101), //WSAEDISCON
114 HostNotFound = (10000 + 1001), //WSAHOST_NOT_FOUND
119 TryAgain = (10000 + 1002) //WSATRY_AGAIN
120};
121
122}}}} // end of namespace Arp::System::Commons::Ipc
123
@ InvalidArgument
The input argument of the encoding operation is invalid.
IpcSocketError
Enumeration of possible error return codes from IpcSocket operations.
Definition: IpcSocketError.hpp:14
@ SocketNotSupported
The support for the specified socket type does not exist in this address family.
@ ProtoType
A protocol was specified in the socket function call that does not support the semantics of the socke...
@ Disconnecting
Returned by Recv or RecvFrom to indicate the remote party has initiated a graceful shutdown sequence.
@ Interrupted
A blocking operation was interrupted.
@ InProgress
A blocking operation is currently executing.
@ ProtocolFamilyNotSupported
The protocol family has not been configured into the system or no implementation for it exists.
@ NotSocket
An operation was attempted on something that is not a socket.
@ Shutdown
A request to send or receive data was disallowed because the socket had already been shut down in tha...
@ AddressFamilyNotSupported
An address incompatible with the requested protocol was used.
@ ProtocolOption
An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call.
@ DestinationAddressRequired
A required address was omitted from an operation on a socket.
@ SystemNotReady
Startup cannot function at this time because the underlying system it uses to provide network service...
@ AddressNotAvailable
The requested address is not valid in its context.
@ NotConnected
A request to send or receive data was disallowed because the socket is not connected and (when sendin...
@ NoBufferSpaceAvailable
An operation on a socket could not be performed because the system lacked sufficient buffer space or ...
@ ProcessLimit
A Sockets implementation may have a limit on the number of applications that may use it simultaneousl...
@ IsConnected
A connect request was made on an already connected socket.
@ HostDown
A socket operation failed because the destination host was down.
@ NetworkUnreachable
A socket operation was attempted to an unreachable network.
@ AlreadyInProgress
An operation was attempted on a non-blocking socket that already had an operation in progress.
@ MessageSize
A message sent on a datagram socket was larger than the internal message buffer or some other network...
@ HostUnreachable
A socket operation was attempted to an unreachable host.
@ ProtocolNotSupported
The requested protocol has not been configured into the system, or no implementation for it exists.
@ TimedOut
A connection attempt failed because the connected party did not properly respond after a period of ti...
@ NotInitialized
Either the application has not called Startup, or Startup failed.
@ NetworkReset
The connection has been broken due to keep-alive activity detecting a failure while the operation was...
@ ConnectionRefused
No connection could be made because the target machine actively refused it.
@ ConnectionReset
An existing connection was forcibly closed by the remote host.
@ AddressAlreadyInUse
Only one usage of each socket address (protocol/network address/port) is normally permitted.
@ VersionNotSupported
The Sockets version requested is not supported.
@ OperationNotSupported
The attempted operation is not supported for the type of object referenced.
@ NetworkDown
A socket operation encountered a dead network.
@ WouldBlock
A non-blocking socket operation could not be completed immediately.
@ ConnectionAborted
An established connection was aborted by the software in your host machine.
@ TryAgain
This is usually a temporary error during host name resolution and means that the local server did not...
@ Any
An unspecified Socket error has occurred.
@ TooManyOpenSockets
Too many open sockets.
Root namespace for the PLCnext API