tcp vs udp

  bythor 10:31 30 May 2010

Hi. I need the help of someone who knows a bit about tcp/udp on this one I think. I currently send serial data via a digi one sp to a tcp address. I hope to send the same serial data to two addresses, however one of them only accepts tcp whilst the other will accept tcp or udp. It doesn't look like I can send the data to both desitinations from the digi one, and I just don't know enough about the subject. Any ideas how I can send to both, without forking out silly money?
thanks for reading.

  mgmcc 20:56 30 May 2010

When you say you are sending data to a TCP address, are you actually sending it to an IP address using TCP protocol, with the option of using UDP protocol?

If so, and this is only guesswork, you *MIGHT* be able to send to multiple devices by sending to either the Subnet address or the Broadcast address.

If your router's address is then the Subnet address (not the Subnet *MASK* address) is and the Broadcast address is

  bythor 21:14 30 May 2010

thanks for your response. Yes, I'm sending to a TCP address. They (recipient 1) have told me that they don't work with UDP.
Recipient 2 can receive either tcp or udp.
1 and 2 are different (competing) companies. Does this help to explain anything?

  bythor 19:39 02 Jun 2010

Thanks for that explanation, very clear (twice ;->).
So do you think there's a product that will send the same serial data to two tcp addresses?

  mgmcc 09:11 03 Jun 2010

I believe manifestmktg's posting was copied/pasted from somewhere like "Wikipedia" primarily so that the marketing URLs could be appended, i.e. basically SPAM.

As far as I'm aware, there is no such thing as a "TCP address". TCP (Total Control Protocol) and UDP (User Datagram Protocols) are methods used to transmit data. The address to which the data is sent is the "IP address".

I would have thought that whether or not you can send data to more than one recipient (IP address) will depend on the options available in the software from which you're sending the data. The "Digi One SP" appears only to provide ethernet connectivity from an RS232 Serial Port.

  bythor 18:14 03 Jun 2010

thanks again. Yes, the Digi has one serial port, but that's fine. I want to send the same serial data to two different addresses that use tcp. The digi can send via either tcp or udp, but not both. I therefore need a solution to send the serial data to two separate ip addresses via tcp. I would have thought that if the Digi can send to one, there must be a device that can send to two, but this is where I hoped the forum would shed some light on such a product.

  mgmcc 19:36 03 Jun 2010

I don't understand what you're actually trying to do. For example, if I send an email to someone, I am sending data via TCP to an IP address (a DNS server will resolve the email address to the recipient mail server's IP address). I can, of course, sent that same email to several recipients (IP addresses) simultaneously.

Now that's a fairly simplistic example, but why can't the *software* you're using to send the data deliver it to more than one IP address? I wouldn't have thought that additional hardware would be necessary to achieve that.

  bythor 13:25 04 Jun 2010

I don't think it's software that doing the send bit. The digi one can only send via tcp to one ip address. It will send via udp to multiple address, but one of the addresses I'm sending to doesn't accept the udp protocol/format. So all I'm left with is a digi that will either sent via tcp or udp but not both. So, it seems that, for physical limitations in the digi, sending the data via tcp can be to only one single address.

  mgmcc 20:29 04 Jun 2010

What are you sending the data from - a computer or another type of serial device?

What (in very general terms) is the data that you are sending via the "digi one" and what is its destination?

  bythor 21:57 04 Jun 2010

I'm sending simple data strings, from a serial device to a server that many others are also sending data. Take a look click here, and I also want to send to a similar site.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Huawei Mate 30 & Mate 30 Pro release date, features & specs

Fred Deakin on creating the artwork for his sci-fi rock opera The Lasters

Best iOS 13 features: What does iOS 13 do

Comparatif Fitbit : quel bracelet choisir ?