Home  >  Support  >  Support Forum  >  sending data to static IP
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

sending data to static IP

0 votes
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...
asked Sep 15, 2013 in Rabbit Software by satish.sundara New to the Community (2 points)
reshown Mar 6 by charliek

Please log in or register to answer this question.

1 Answer

0 votes
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\tcpip\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.
answered Sep 15, 2013 by cpigilam Veteran of the Digi Community (497 points)
Contact a Digi expert and get started today! CONTACT US
...