www.pudn.com > mypro-telnet.rar > Help.c, change:2010-07-15,size:1110b
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <netinet/in.h> #include <arpa/inet.h> int main(int argc, char* argv[]) { printf("Built-in commands:\n"); printf("----------------------------------------------------------------------\n"); printf("command description\n"); printf("setPUID [PUID] set PUID to the device\n"); printf("getPUID get the PUID of the device\n"); printf("setCSG [ip] [port] set the IP and Port of the register server\n"); printf("getCSG get the IP and Port of the register server\n"); printf("setIP [ip] set the IP of the device\n"); printf("setNetmask [ip] set the netmask\n"); printf("setGateway [ip] set the gateway\n"); printf("getIP get the IP info of the device\n"); printf("Help show the built-in commands\n"); printf("showpu show the status of the device\n"); printf("online registing the sever actively\n"); return 0; }