WYRDTEK Home Features Reference Downloads About


Reference/es_sock_udpbind

Syntax

int es_sock_udpbind( int fd, int port );

Arguments

int fd File-descriptor of udp/ip socket.
int port Port number

Description

Set SO_REUSEADDR socket option and bind() port number port to udp/ip socket file descriptor fd.

Returns zero on success and returns errno (from the standard library errno.h) on error.

[Back To Reference] [Back To Reference/es_sock]