Logo 
Search:

Networking Articles

Submit Article
Home » Articles » Networking » TCP/IPRSS Feeds

TCP/IP program to create a passive socket for use in a UDP server

Posted By: Milind Mishra     Category: Networking     Views: 1746

TCP/IP program to create a passive socket for use in a UDP server.

Code for TCP/IP program to create a passive socket for use in a UDP server in Networking

int    passivesock(constchar *service, constchar *transport,
        int qlen);

int
passiveUDP(constchar *service)
/* * Arguments: *      service - service associated with the desired port */
{
    return passivesock(service, "udp", 0);
}
  
Share: 



Milind Mishra
Milind Mishra author of TCP/IP program to create a passive socket for use in a UDP server is from India.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!