IRC_Connection struct holds the socket handle, receiving buffer and basic info about the connection. More...
#include <connection.h>
Data Fields | |
SOCKET | socket |
Socket handle. | |
struct addrinfo * | ai_result |
Addrinfo result pointer. More... | |
struct addrinfo * | ai_hints |
char | address [32] |
Address of the server. More... | |
char | port [8] |
Port to be used. More... | |
char * | recvbuf |
Buffer used by recv() to store incoming data. More... | |
int | recvbuflen |
Length of recvbuf , by default = 512 . More... | |
IRC_Connection struct holds the socket handle, receiving buffer and basic info about the connection.
char IRC_Connection::address[32] |
Address of the server.
E.g. "irc.freenode.net".
struct addrinfo* IRC_Connection::ai_hints |
struct addrinfo* IRC_Connection::ai_result |
Addrinfo result pointer.
See getaddrinfo() for more information.
char IRC_Connection::port[8] |
Port to be used.
Note that this is a string, not an integer.
char* IRC_Connection::recvbuf |
Buffer used by recv()
to store incoming data.
int IRC_Connection::recvbuflen |
Length of recvbuf
, by default = 512
.