Function Connect (Sock:longint;const addr:string;var SockIn,SockOut:text) : Boolean;
This is an alternate form of the Connect command. It is equivalent to subsequently calling the regular Connect function and the Sock2Text function.
The function returns True if successfull, False otherwise.
The errors are those of Connect.