|
taskrambler
0.1.8
Web server and task management solution.
|
#include <errno.h>#include <stdlib.h>#include <unistd.h>#include "socket.h"#include "logger.h"#include "class.h"
Include dependency graph for socket.c:Go to the source code of this file.
Functions | |
| static int | socketCtor (void *_this, va_list *params) |
| static void | socketDtor (void *_this) |
| INIT_IFACE (Class, socketCtor, socketDtor, NULL) | |
| CREATE_CLASS (Sock, NULL, IFACE(Class)) | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file socket.c.
| CREATE_CLASS | ( | Sock | , |
| NULL | , | ||
| IFACE(Class) | |||
| ) |
| INIT_IFACE | ( | Class | , |
| socketCtor | , | ||
| socketDtor | , | ||
| NULL | |||
| ) |
|
static |
if port is -1 do not initialize the socket. (Used with accept)
Create socket for incoming connections
Make the socket REUSE a TIME_WAIT socket
Definition at line 33 of file socket.c.
References LOGGER_CRIT, and loggerLog().
Here is the call graph for this function: