[Overview][Constants][Types][Procedures and functions][Index] |
Return name of socket.
Source position: socketsh.inc line 166
function fpgetsockname( |
s: cint; |
name: psockaddr; |
namelen: psocklen |
):cint; |
fpGetSockName returns the current name of the specified socket S. Name should point to enough space to store the name, the amount of space pointed to should be set in Namelen. When the function returns successfully, Name will be filled with the name, and Namelen will be set to the length of Name.
Errors are reported in SocketError, and include the following:
|
Bind a socket to an address. |