inetq.c File Reference

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 Documentation

#define DNSSERVERIP   "192.168.192.2"

Examples:
inetq/inetq.c.

Definition at line 85 of file inetq.c.

Referenced by main().

#define INETSERVER   "www.kornet.net"

Examples:
inetq/inetq.c.

Definition at line 86 of file inetq.c.

Referenced by main().

#define INETSERVERPORT   80

Examples:
inetq/inetq.c.

Definition at line 87 of file inetq.c.

Referenced by main().

#define INETURL   "/"

Examples:
inetq/inetq.c.

Definition at line 88 of file inetq.c.

Referenced by main().

#define MY_MAC   {0x00,0x06,0x98,0x20,0x00,0x00}

Definition at line 89 of file inetq.c.

#define MY_IP   "192.168.192.100"

Examples:
inetq/inetq.c, and portdio/portdio.c.

Definition at line 90 of file inetq.c.

Referenced by main().

#define MY_MASK   "255.255.255.0"

Examples:
inetq/inetq.c, and portdio/portdio.c.

Definition at line 91 of file inetq.c.

Referenced by main().

#define MY_GATE   "192.168.192.3"

Examples:
inetq/inetq.c.

Definition at line 92 of file inetq.c.

Referenced by main().


Function Documentation

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.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/