[Overview][Constants][Types][Procedures and functions][Index] |
Bind a socket to an address.
Source position: socketsh.inc line 161
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 errors can be found in the Unix man pages.
|
Create new socket |