8#include "Arp/System/Core/Enum.hxx" 
   10namespace Arp { 
namespace System { 
namespace Commons { 
namespace Net
 
  126template<> 
struct fmt::formatter<
Arp::System::Commons::Net::SocketError>: 
public fmt::ostream_formatter {};
 
@ InvalidArgument
The input argument of the encoding operation is invalid.
 
@ 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.
 
@ HostNotFound
No such host is known.
 
@ TooManyOpenSockets
Too many open sockets.
 
std::ostream & operator<<(std::ostream &os, const IpAddress &ipAddress)
The ostream operator is used for logging and string formatting.
Definition: IpAddress.cpp:76
 
std::istream & operator>>(std::istream &is, IpAddress &ipAddress)
The istream operator is used for string parsing.
Definition: IpAddress.cpp:83
 
SocketError
Possible error codes for socket operation results.
Definition: SocketError.hpp:15
 
Root namespace for the PLCnext API