|
taskrambler
0.1.9
Web server and task management solution.
|
Include dependency graph for socket.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| CLASS (Sock) | |
| void | socketConnect (Sock this, const char *addr, char(*)[16]) |
| void | socketListen (Sock this, int backlog) |
| Sock | socketAccept (Sock this, char(*remoteAddr)[16]) |
| void | socketNonblock (Sock this) |
Abstraction layer above BSD sockets. Capsules and simplifies connect accept and listen.
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.h.
| CLASS | ( | Sock | ) |
| Sock socketAccept | ( | Sock | this, |
| char(*) | remoteAddr[16] | ||
| ) |
Definition at line 32 of file accept.c.
References LOGGER_WARNING, and loggerLog().
Referenced by serverHandleAccept().
Here is the call graph for this function:
Here is the caller graph for this function:| void socketConnect | ( | Sock | this, |
| const char * | addr, | ||
| char(*) | [16] | ||
| ) |
Definition at line 32 of file connect.c.
References LOGGER_CRIT, LOGGER_INFO, and loggerLog().
Here is the call graph for this function:| void socketListen | ( | Sock | this, |
| int | backlog | ||
| ) |
Bind to the local address
Mark the socket so it will listen for incoming connections
Definition at line 32 of file listen.c.
References LOGGER_CRIT, and loggerLog().
Referenced by serverCtor().
Here is the call graph for this function:
Here is the caller graph for this function:| void socketNonblock | ( | Sock | this | ) |
Definition at line 32 of file nonblock.c.
Referenced by serverCtor(), and serverHandleAccept().
Here is the caller graph for this function: