passiveUDP.c
Upload User: wei_4586
Upload Date: 2008-05-28
Package Size: 18k
Code Size: 0k
Category:

Linux Network

Development Platform:

Unix_Linux

  1. /* passiveUDP.c - passiveUDP */
  2. int passivesock(const char *service, const char *transport,
  3. int qlen);
  4. /*------------------------------------------------------------------------
  5.  * passiveUDP - create a passive socket for use in a UDP server
  6.  *------------------------------------------------------------------------
  7.  */
  8. int
  9. passiveUDP(const char *service)
  10. /*
  11.  * Arguments:
  12.  *      service - service associated with the desired port
  13.  */
  14. {
  15. return passivesock(service, "udp", 0);
  16. }