An fcgi socket connection.
More...
#include <cpp_fcgi/Socket.h>
|
int | close () |
| close the socket More...
|
|
int | fd () const |
| return the file descriptor More...
|
|
int | open (const char *path, int backlog) |
| open an fcgi socket on a unix domain More...
|
|
int | open (int port, int backlog) |
| open an fcgi socket listening on the specified port More...
|
|
An fcgi socket connection.
Definition at line 35 of file Socket.h.
int fcgi::Socket::close |
( |
| ) |
|
close the socket
- Returns
- 0 on success or an error number
int fcgi::Socket::fd |
( |
| ) |
const |
return the file descriptor
int fcgi::Socket::open |
( |
const char * |
path, |
|
|
int |
backlog |
|
) |
| |
open an fcgi socket on a unix domain
- Parameters
-
path | path of the unix domain socket |
backlog | number of unprocessed requests to queue |
- Returns
- the fd of the opened socket or an error number
int fcgi::Socket::open |
( |
int |
port, |
|
|
int |
backlog |
|
) |
| |
open an fcgi socket listening on the specified port
- Parameters
-
port | port to listen on |
backlog | number of unprocessed requests to queue |
- Returns
- the fd of the opened socket or an error number
file descriptor of the open socket
Definition at line 38 of file Socket.h.
The documentation for this class was generated from the following file: