34 inet_pton(AF_INET, addr, &((this->addr).sin_addr));
35 (this->addr).sin_family = AF_INET;
36 (this->addr).sin_port = htons(this->port);
40 (
struct sockaddr*) &(this->addr),
44 "error connection socket: %s - service terminated",
48 strcpy(*remoteAddr, inet_ntoa((this->addr).sin_addr));
51 "handling connection %s\n", inet_ntoa((this->addr).sin_addr));
void socketConnect(Sock this, const char *addr, char(*remoteAddr)[16])
void loggerLog(void *, logger_level, const char *const,...)