Main Page | Class List | File List | Class Members | File Members | Related Pages

gi_udp.h File Reference

Utility module for UDP sockets. More...

Go to the source code of this file.

Functions

EXTERN_C_BEGIN LIBGIFT_EXPORT
int 
gi_udpsock_bind (in_port_t port, bool blocking)


Detailed Description

Utility module for UDP sockets.


Function Documentation

EXTERN_C_BEGIN LIBGIFT_EXPORT int gi_udpsock_bind in_port_t  port,
bool  blocking
 

Utility function which combines socket(), gi_sock_setopt(), gi_sock_blocking(), gi_sock_bind(), and listen().

Returns:
On success, the socket fd is returned as a non-negative integer; on error, -1 is returned.


Generated on Sun Aug 22 07:56:41 2004 by doxygen 1.3.7