Home » Community » Newbie corner » UDP connection
Re: UDP connection [message #36033 is a reply to message #36031] |
Fri, 20 April 2012 09:34   |
Wolfgang
Messages: 146 Registered: November 2011 Location: Germany
|
Experienced Member |
|
|
Thats my big question, as i wrote this is the situation:
- On port 3600 UDP is a program that sends information
- I want to listen to this information
Quote: |
root@chieftec:/home/wolfgang# lsof -i | grep -i UDP
hdeam 807 root 4u IPv4 4277 0t0 UDP *:3600
ldeam 2125 wolfgang 3u IPv4 35397 0t0 UDP *:39563
|
"hdeam" sends information....
ldeam is a program that gets information from hdeam - and I want to get information, too!
In this case I think i need just a client?!
But with urrClient I don't know how to listen because I don't want to send to the socket, just read from it.
So I really don't know if I need a server and a client or just a client for this. Whats the schematic of such a connection?
- Do I have to start a own server on another port than 3600, connect through another socket to UDP 3600 and tell the server to establish a connection to my own server?
OR
- Do I just have to connect to UDP 3600 Port with a client and listen? (If yes - I tried but in UrrClient for example is no method for listening..)
[Updated on: Fri, 20 April 2012 09:53] Report message to a moderator
|
|
|
 |
|
UDP connection
By: Wolfgang on Wed, 18 April 2012 10:00
|
 |
|
Re: UDP connection
By: Zbych on Wed, 18 April 2012 10:10
|
 |
|
Re: UDP connection
By: Wolfgang on Thu, 19 April 2012 14:59
|
 |
|
Re: UDP connection
By: Zbych on Thu, 19 April 2012 15:25
|
 |
|
Re: UDP connection
By: Wolfgang on Thu, 19 April 2012 16:03
|
 |
|
Re: UDP connection
By: Zbych on Thu, 19 April 2012 20:32
|
 |
|
Re: UDP connection
By: Wolfgang on Thu, 19 April 2012 21:24
|
 |
|
Re: UDP connection
By: Zbych on Fri, 20 April 2012 08:14
|
 |
|
Re: UDP connection
By: Wolfgang on Fri, 20 April 2012 09:34
|
 |
|
Re: UDP connection
By: Zbych on Fri, 20 April 2012 10:16
|
 |
|
Re: UDP connection
By: Wolfgang on Fri, 20 April 2012 10:23
|
Goto Forum:
Current Time: Mon Apr 28 16:46:09 CEST 2025
Total time taken to generate the page: 0.04286 seconds
|