open_socket


Description:

[ CCode ( cname = "FCGX_OpenSocket" ) ]
public int open_socket (string path, int backlog)

Create a FastCGI listen socket.

Parameters:

path

is the Unix domain socket (named pipe for WinNT), or a colon followed by a port number. (e.g. "/tmp/fastcgi/mysocket", ":5000")

backlog

is the listen queue depth used in the listen() call.

Returns:

the socket's file descriptor or -1 on error.


Namespace: FastCGI
Package: fcgi