Commit 32ea0465 authored by Dafydd Harries's avatar Dafydd Harries

UDP: fix comment and move to header file

darcs-hash:20070123122213-c9803-197be7f0810212108cb02360ca61596cfcc30ef5.gz
parent 1117bc64
......@@ -58,10 +58,6 @@ socket_close (UDPSocket *sock)
/*** UDPSocketManager ***/
/* If sin is not NULL, the new socket will be bound to that IP address/port.
* If sin->sin_port is 0, a port will be assigned at random. In all cases, the
* port bound to will be set in sock->port.
*/
static gboolean
socket_manager_init_socket (
UDPSocketManager *man,
......
......@@ -32,6 +32,11 @@ struct _UDPSocketManager
void
udp_socket_manager_init (UDPSocketManager *man);
/**
* If sin is not NULL, the new socket will be bound to that IP address/port.
* If sin->sin_port is 0, a port will be assigned at random. In all cases, the
* address bound to will be set in sock->addr.
*/
gboolean
udp_socket_manager_alloc_socket (
UDPSocketManager *man,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment