Logo 
Search:

Networking Articles

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

TCP/IP program of record option type

Posted By: Milind Mishra     Category: Networking     Views: 2198

TCP/IP program of record option type.

Code for TCP/IP program of record option type in Networking

#include <sys/types.h>
#include <stdio.h>
u_char    option_cmd;    /* has value WILL, WONT, DO, or DONT        *//*ARGSUSED*/int
recopt(FILE *sfp, FILE *tfp, int c)
{
    option_cmd = c;
    return 0;
}

/*------------------------------------------------------------------------ * no_op - do nothing *------------------------------------------------------------------------ *//*ARGSUSED*/int
no_op(FILE *sfp, FILE *tfp, int c)
{
    return 0;
}
  
Share: 


Didn't find what you were looking for? Find more on TCP/IP program of record option type Or get search suggestion and latest updates.

Milind Mishra
Milind Mishra author of TCP/IP program of record option type 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!