Go to the source code of this file.
Defines | |
#define | DNSSERVERIP "192.168.192.2" |
#define | INETSERVER "www.kornet.net" |
#define | INETSERVERPORT 80 |
#define | INETURL "/" |
#define | MY_MAC {0x00,0x06,0x98,0x20,0x00,0x00} |
#define | MY_IP "192.168.192.100" |
#define | MY_MASK "255.255.255.0" |
#define | MY_GATE "192.168.192.3" |
Functions | |
int | main (void) |
#define DNSSERVERIP "192.168.192.2" |
#define INETSERVER "www.kornet.net" |
#define INETSERVERPORT 80 |
#define INETURL "/" |
#define MY_IP "192.168.192.100" |
Definition at line 90 of file inetq.c.
Referenced by main().
#define MY_MASK "255.255.255.0" |
Definition at line 91 of file inetq.c.
Referenced by main().
#define MY_GATE "192.168.192.3" |
int main | ( | void | ) |
Definition at line 119 of file inetq.c.
References _fdopen(), _fileno(), _ioctl(), _CONFNET::cdn_ip_addr, confnet, DEV_DEBUG, DEV_DEBUG_NAME, DEV_ETHER, DNSSERVERIP, fclose(), fflush(), fgets(), fprintf(), fputs(), freopen(), inet_addr(), inet_ntoa(), INETSERVER, INETSERVERPORT, INETURL, MY_GATE, MY_IP, MY_MASK, NutDhcpIfConfig(), NutDnsConfig(), NutDnsGetHostByName(), NutGetTickCount(), NutIpRouteAdd(), NutNetIfConfig(), NutRegisterDevice(), NutSleep(), NutTcpCloseSocket(), NutTcpConnect(), NutTcpCreateSocket(), NutTcpReceive(), NutTcpSend(), printf, puts, stdout, strcpy(), strlen(), and UART_SETSPEED.