Reading packets from UDP port

P

Pashlipops

Hi there

I am looking for some guidance.

I am new to C++ and whilst I am reading up about the language, my
actual goal is to create a program that reads a UDP packet sent by a
data logger and displays the reults real-time on screen.

The UDP packet is sent every 200ms. I know the port. I have Windows
Vicual C++ Express Edition running under XP.

Can anyone point me in the direction of any source code that can do any
of this? I have looked at teh source code for Wireshark, but cannot
identify which bit of the code is reading the packets.

TIA

PP
 
A

AnonMail2005

Pashlipops said:
Hi there

I am looking for some guidance.

I am new to C++ and whilst I am reading up about the language, my
actual goal is to create a program that reads a UDP packet sent by a
data logger and displays the reults real-time on screen.

The UDP packet is sent every 200ms. I know the port. I have Windows
Vicual C++ Express Edition running under XP.

Can anyone point me in the direction of any source code that can do any
of this? I have looked at teh source code for Wireshark, but cannot
identify which bit of the code is reading the packets.

TIA

PP
Check out: http://asio.sourceforge.net/.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top