Woman, Life, Freedom |
Async BSD Sockets Library
Library protected and public interface header documentation
|
TCP/IP network socket. More...
#include <network_socket.h>
Protected Member Functions | |
NetworkSocket (std::string ipAddress, uint16_t port) | |
Constructor. More... | |
Protected Attributes | |
const std::string | IpAddress |
Listening/Connecting IP address for server/client. | |
const uint16_t | Port |
Listening/Connecting port number for server/client. | |
![]() | |
int | FileDescriptor |
File descriptor. | |
Additional Inherited Members | |
![]() | |
int | Descriptor () const noexcept |
File descriptor. More... | |
virtual int | Connection () const noexcept=0 |
Connection descriptor for sending and receiving. More... | |
virtual bool | TrySetup () noexcept=0 |
Try to setup the communicator. More... | |
virtual bool | TryClose () noexcept |
Try to close the communicator. More... | |
TCP/IP network socket.
|
protected |
Constructor.
ipAddress | Binding IPv4 address |
port | Binding port number |