PhoenixSocket  4.0.1
Library which integrates socket unix use in Phoenix
Loading...
Searching...
No Matches
PSocketParam Struct Reference

Parameters to create a socket. More...

#include <PSocketFlag.h>

Public Attributes

std::string hostname
 Name of the host to be connected to.
 
size_t port
 Port to be connected to.
 
int recvTimeOut {-1}
 Timeout of the recv method.
 
int sendTimeOut {-1}
 Timeout of the send method.
 

Detailed Description

Parameters to create a socket.

Definition at line 68 of file PSocketFlag.h.

Member Data Documentation

◆ hostname

std::string PSocketParam::hostname

Name of the host to be connected to.

Definition at line 70 of file PSocketFlag.h.

◆ port

size_t PSocketParam::port

Port to be connected to.

Definition at line 72 of file PSocketFlag.h.

◆ recvTimeOut

int PSocketParam::recvTimeOut {-1}

Timeout of the recv method.

Definition at line 74 of file PSocketFlag.h.

74{-1};

◆ sendTimeOut

int PSocketParam::sendTimeOut {-1}

Timeout of the send method.

Definition at line 76 of file PSocketFlag.h.

76{-1};

The documentation for this struct was generated from the following file: