34 (this->addr).sin_family = AF_INET;
35 (this->addr).sin_addr.s_addr = htonl(INADDR_ANY);
37 (this->addr).sin_port = htons(this->port);
42 if (-1 == bind(this->handle, (
struct sockaddr *) &(this->addr),
sizeof(this->addr))) {
44 "error binding socket: %s - service terminated",
52 if (-1 == listen(this->handle, backlog)) {
54 "error binding socket: %s - service terminated",
void socketListen(Sock this, int backlog)
void loggerLog(void *, logger_level, const char *const,...)