Procedure Sock2Text (Sock:Longint;Var SockIn,SockOut: Text) ;
Sock2Text transforms a socket Sock into 2 Pascal file descriptors of type Text, one for reading from the socket (SockIn), one for writing to the socket (SockOut).
None.
Socket, Sock2File