Logo 
Search:

Networking Articles

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

TCP/IP program of an unsupported escape command

Posted By: Milind Mishra     Category: Networking     Views: 1496

TCP/IP program of an unsupported escape command.

Code for TCP/IP program of an unsupported escape command in Networking

/* sonotsup.c - sonotsup */

#include <stdio.h>

/*ARGSUSED*/int
sonotsup(FILE *sfp, FILE *tfp, int c)
{
    fprintf(tfp, "\nunsupported escape: %c.\n", c);
    fprintf(tfp, "s  - turn on scripting\t\t");
    fprintf(tfp, "u  - turn off scripting\n");
    fprintf(tfp, ".  - disconnect\t\t\t");
    fprintf(tfp, "^Z - suspend\n");
    fprintf(tfp, "^T - print status\n");
    return 0;
}
  
Share: 


Didn't find what you were looking for? Find more on TCP/IP program of an unsupported escape command Or get search suggestion and latest updates.

Milind Mishra
Milind Mishra author of TCP/IP program of an unsupported escape command 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!