help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'Sockets' (#rtl)

Sock2File

Convert socket to untyped file descriptors

Declaration

Source position: socketsh.inc line 200

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

Socket

  

Create new socket

Sock2Text

  

Convert socket to text file descriptors

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505