[Overview][Constants][Types][Procedures and functions][Index] |
Bind a socket to an address.
Source position: socketsh.inc line 166
function fpbind( |
s: cint; |
addrx: psockaddr; |
addrlen: TSockLen |
):cint; |
fpBind binds the socket s to address Addrx. Addrx has length Addrlen. The function returns 0 if the call was succesful, -1 if not.
Errors are returned in SocketError and include the following:
More arrors can be found in the Unix man pages.
Socket |
|
Create new socket (deprecated) |
lazarus-ccr.sourceforge.net |