/
bind TCP UDP
bind TCP UDP
Assign network addresses to sockets. See function NetSock_Bind() for more information.
Files
net_bsd.h/net_bsd.c
Prototype
int bind ( int sock_id, struct sockaddr *p_addr_local, socklen_t addr_len);
Arguments
sock_id
Socket descriptor/handle identifier of socket to bind to a local address.
p_addr_local
Pointer to socket address structure.
addr_len
Length of socket address structure (in octets).
Returned Value
0, if no errors.
-1, otherwise.
, multiple selections available,
Related content
connect TCP UDP
connect TCP UDP
More like this
socket TCP UDP
socket TCP UDP
More like this
getsockname TCP UDP
getsockname TCP UDP
More like this
send / sendto TCP UDP
send / sendto TCP UDP
More like this
FD_SET TCP UDP
FD_SET TCP UDP
More like this
NetSock_Bind
NetSock_Bind
More like this