Logo 
Search:

Networking Articles

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

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

Posted By: Milind Mishra     Category: Networking     Views: 2221

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

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

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

int
passiveTCP(constchar *service, int qlen)
/* * Arguments: *      service - service associated with the desired port *      qlen    - maximum server request queue length */
{
    return passivesock(service, "tcp", qlen);
}
  
Share: 



Milind Mishra
Milind Mishra author of TCP/IP program to create a passive socket for use in a TCP 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!