passiveUDP.c
上传用户:wei_4586
上传日期:2008-05-28
资源大小:18k
文件大小:0k
- /* passiveUDP.c - passiveUDP */
- int passivesock(const char *service, const char *transport,
- int qlen);
- /*------------------------------------------------------------------------
- * passiveUDP - create a passive socket for use in a UDP server
- *------------------------------------------------------------------------
- */
- int
- passiveUDP(const char *service)
- /*
- * Arguments:
- * service - service associated with the desired port
- */
- {
- return passivesock(service, "udp", 0);
- }