sending data to static IP

,

Hi,

         i am using rabbit 6710 in that i need to configure static  IP and send data to the static IP located remotely..please any one send me the sample code for that..

thanks…

Hello,

There is a udp sample application to send data to the server. Check the sample apps at the below path
C:\DCRABBIT_10.72\Samples cpip\udp

To configure Ip address for your Rabbit module, in your application you need to define below macros.

#define TCPCONFIG 1
#define _PRIMARY_STATIC_IP “10.10.6.100”
#define _PRIMARY_NETMASK “255.255.255.0”
#define MY_GATEWAY “10.10.6.1”
#define MY_NAMESERVER “10.10.6.1”

Thanks.