/*******************************************************************************
        pingme.c
        Z-World, 2000

        A very basic TCP/IP program, that will initilize the TCP/IP
        interface, and allow the device to be 'pinged' from another
        computer on the network.
*******************************************************************************/

/***********************************
 * Configuration                   *
 * -------------                   *
 * All fields in this section must *
 * be altered to match your local  *
 * network settings.               *
 ***********************************/
/*
 * You must change the following values to whatever
 * your local IP address, netmask, and gateway
 * are. Contact your network administrator
 * for these numbers.
 */
#define MY_IP_ADDRESS   "10.10.6.101"
#define MY_NETMASK      "255.255.255.0"
#define MY_GATEWAY		"10.10.6.19"

/********************************
 * End of configuration section *
 ********************************/

#memmap xmem
#use dcrtcp.lib

main()
{
   sock_init();
   for (;;) { 
      tcp_tick(NULL);
   }
}