KSduino 

 The Device Network
ABOUT | BLOG | FORUM | DOWNLOADS | DEVELOPMENT | DEVICES | DONATE | USER
Your IP Address is:

FORUM

Author Topic: how to send packets to two different IP addresses?  (Read 6750 times)

alv2005

  • Newbie
  • *
  • Posts: 4
    • View Profile
how to send packets to two different IP addresses?
« on: February 13, 2013, 01:48:00 AM »
Can the ethercard library and network shield ENC28J60  send data to KSduino server to another server with a different IP address?

Kirill Scherba

  • Administrator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
    • KSduino
Re: how to send packets to two different IP addresses?
« Reply #1 on: February 13, 2013, 03:26:38 AM »
Hi alv2005,

What do you mean?

There is one other reserved IP address (I don't want publish it in forum) which can be used now. There is some other IPs which are testing now. But I don't see that this addresses needs now because the main address works good.

If you really need it - I can send it by email.

Thanks.
Best regards.
Kirill Scherba
http://ksduino.org

Kirill Scherba

  • Administrator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
    • KSduino
Re: how to send packets to two different IP addresses?
« Reply #2 on: February 13, 2013, 03:39:16 AM »
If you want to send data from two devices from one local network (one router), then you don't need to have different IPs of server. In this case you need to change local port of your device.
Do know how to change udp local port in the EtherCard Libray?

I have sent you Personal Message with another one KSduino IP.
« Last Edit: February 13, 2013, 09:38:44 AM by Kirill Scherba »
Best regards.
Kirill Scherba
http://ksduino.org

alv2005

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: how to send packets to two different IP addresses?
« Reply #3 on: February 13, 2013, 10:22:45 AM »
My situation:
KSduino, internet <->Main Arduino ip 192.168.1.1 <-> Backup Arduino ip 10.10.1.1 (secure network without Internet). Main Arduino communicate with the Internet (KSduino) and a copy of the Arduino in secure network.

Kirill Scherba

  • Administrator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
    • KSduino
Re: how to send packets to two different IP addresses?
« Reply #4 on: February 13, 2013, 04:50:02 PM »
So you have reserved channel and reserved Arduino! It's properly and professionally!
I have sent you Personal Message with reserved KSduino. Did it help you?
Best regards.
Kirill Scherba
http://ksduino.org

alv2005

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: how to send packets to two different IP addresses?
« Reply #5 on: February 13, 2013, 05:26:09 PM »
Yes, it's will very help me, thanks in advance.  :)

maryyou

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: how to send packets to two different IP addresses?
« Reply #6 on: September 11, 2013, 01:18:16 PM »
which are testing now. But I don't ...  see that this addresses needs now because the main address works good.
« Last Edit: September 12, 2013, 06:56:59 PM by Kirill Scherba »

 

Created with KSNews

HOME | CONTACTS | INFORMER | SHORTENER | DOCUMENTATION | HELP

Copyright © 2012-2013, The KSduino Project