dmz_connect

The dmz_connect establishes a connection with a given peer machine (IP address or hostname) on a specific port

 

int dmz_connet (

char * peer,

int port

);

 

Return Values

  Returns 0 on error, nonzero connection identification on success.

 

Parameters

peer

    A string containing the IP address or hostname of the peer machine.

port

    An int containing the port number to connect to.

Remarks

    The string containing the peer information and the int containing the port number will be used to connect to

that machine.

QuickInfo

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


Last updated November 02, 2000 23:37 by Nancy