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



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

Reference for unit 'Sockets': Procedures and functions

Accept

  

Accept a connection from a socket.

Bind

  

Bind a socket to an address.

CloseSocket

  

Closes a socket handle.

Connect

  

Open a connection to a server socket.

fpaccept

  

Alias for the accept call

fpbind

  

Alias for the bind call

fpconnect

  

Alias for the connect call

fpgetpeername

  

Alias for the GetPeerName call

fpgetsockname

  

Alias for the GetSocketName call

fpgetsockopt

  

Alias for the GetSocketOptions call

fplisten

  

Alias for the listen call

fprecv

  

Alias for the recv call

fprecvfrom

  

Alias for the recvfrom call

fpsend

  

Alias for the send call

fpsendto

  

Alias for the send call

fpsetsockopt

  

Alias for the SetSocketOptions call

fpshutdown

  

Alias for the shutdown call

fpsocket

  

Alias for the socket call

fpsocketpair

  

Alias for the SocketPair call

GetPeerName

  

Return the name (address) of the connected peer.

GetSocketName

  

Return name of socket.

GetSocketOptions

  

Get current socket options

HostAddrToStr

  

Convert a host address to a string.

HostAddrToStr6

  

Convert a IPV6 host address to a string representation.

HostToNet

  

Convert a host address to a network address

htonl

  

Convert long integer from host ordered to network ordered

htons

  

Convert short integer from host ordered to network ordered

Listen

  

Listen for connections on socket.

NetAddrToStr

  

Convert a network address to a string.

NetAddrToStr6

  

Convert a IPV6 network address to a string.

NetToHost

  

Convert a network address to a host address.

NToHl

  

Convert long integer from network ordered to host ordered

NToHs

  

Convert short integer from network ordered to host ordered

Recv

  

Receive data on socket

RecvFrom

  

Receive data from an unconnected socket

Send

  

Send data through socket

SendTo

  

Send data through an unconnected socket to an address.

SetSocketOptions

  

Set socket options.

ShortHostToNet

  

Convert a host port number to a network port number

ShortNetToHost

  

Convert a network port number to a host port number

Shutdown

  

Close one end of full duplex connection.

Sock2File

  

Convert socket to untyped file descriptors

Sock2Text

  

Convert socket to text file descriptors

Socket

  

Create new socket

socketerror

  

Contains the error code for the last socket operation.

SocketPair

  

Create socket pair

Str2UnixSockAddr

  

Convert path to TUnixSockAddr

StrToHostAddr

  

Convert a string to a host address.

StrToHostAddr6

  

Convert a string to a IPV6 host address.

StrToNetAddr

  

Convert a string to a network address.

StrToNetAddr6

  

Convert a string to a IPV6 network address

Notes

 No notes exist for this page yet. 





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