dmz_listen

The dmz_listen listens for connections on a given port with a given maximum number of simultaneous clients

int dmz_listen (

int  port,

int  max

);

 

Return Values

  Returns 0 on error, nonzero connection identification on success.

 

Parameters

port

    number of port to listen on for connections

max

    maximum number of connections to receive

 

Remarks

    dmz_listen should be called repeatidly as it will return an id for every connection made.

    Amaxmimum number of connections will be allowed to connect via the specified port.

 

QuickInfo

Windows: Requires WinSock 1.1 or 2.0 (winsock.dll, dmz_net.dll)


Last updated October 08, 2000 15:09 by Nancy