Sign in Join
FPDoc Onlineexperiment

Sock2File procedure deprecated

In unit Sockets

Convert socket to untyped file descriptors.

Declaration

pascal
procedure Sock2File(Sock: LongInt; var SockIn: File; var SockOut: File)

Description

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).

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.