typedef struct udpsocket {
sel_file sf; /* Selector for the socket */
+ unsigned port; /* Chosen port number */
} udpsocket;
typedef struct ping {
*
* Returns: ---
*
- * Use: Creates a new admin connection.
+ * Use: Creates a new admin connection. It's safe to call this
+ * before @a_init@.
*/
extern void a_create(int /*fd_in*/, int /*fd_out*/, unsigned /*f*/);
extern void p_init(struct addrinfo */*ailist*/);
-/* --- @p_port@ --- *
- *
- * Arguments: @int i@ = address family index to retrieve
- *
- * Returns: Port number used for socket.
- */
-
-extern unsigned p_port(int /*i*/);
-
/* --- @p_create@ --- *
*
* Arguments: @peerspec *spec@ = information about this peer