Convert socket to untyped file descriptors.
Source position: socketsh.inc line 183
procedure Sock2File( |
Sock: LongInt; |
var SockIn: file; |
var SockOut: file |
); |
Sock2File transforms a socket Sock into 2 Pascal file descriptors of type File, one for reading from the socket (SockIn), one for writing to the socket (SockOut).
None.
|
Create new socket. |
|
|
Convert socket to text file descriptors. |