next up previous contents index
Next: Connect Up: Functions and Procedures Previous: Connect

Connect

   

Declaration:

Function Connect (Sock:longint;const addr:string;var SockIn,SockOut:file) : Boolean;

Description:

This is an alternate form of the Connect command. The parameter addr contains the name of the unix socket file to be opened. It is equivalent to subsequently calling the regular Connect function and the Sock2File function.

The function returns True if successfull, False otherwise.

Errors:

The errors are those of Connect.

See also:

Connect



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998