simple-socket library 1.9.0
Loading...
Searching...
No Matches
SimpleSocket.h File Reference
#include <string>
#include <string_view>
#include <exception>
Include dependency graph for SimpleSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NET::SocketException
 Signals a problem with the execution of a socket call. More...
struct  NET::IOResult
class  NET::SimpleSocket
 A socket representing a basic communication endpoint. More...
struct  NET::SimpleSocket::AdoptSocketTag
 used to safely adopt internal socket descriptor More...

Namespaces

namespace  NET

Enumerations

enum  NET::AddressFamily { NET::IPv4 , NET::IPv6 }
 used by internet socket types More...
enum class  NET::IOStatus {
  NET::Success , NET::WouldBlock , NET::Timeout , NET::PeerDisconnected ,
  NET::DestinationUnavailable
}
 status of the I/O operation More...
enum class  NET::ConnectResult {
  NET::Connected , NET::InProgress , NET::Timeout , NET::Refused ,
  NET::Aborted , NET::Unreachable
}
 result of the connection attempt More...
enum  NET::ShutdownDirection { NET::STOP_RECEIVE , NET::STOP_SEND , NET::STOP_BOTH }
 direction to close for a stream socket More...