Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » UDP connection
Re: UDP connection [message #36033 is a reply to message #36031] Fri, 20 April 2012 09:34 Go to previous messageGo to previous message
Wolfgang is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux external libs
Next Topic: Zooming layout in Windows
Goto Forum:
  


Current Time: Wed May 08 06:38:09 CEST 2024

Total time taken to generate the page: 0.02718 seconds