473,379 Members | 1,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Monitoring incoming UDP packets

Hello,

I need to write an application to monitor incoming UDP packets on a
specific port.

This UDP port is already in use by a third party application.

The goal is : to execute some code each time the third party app
receives an UDP packet (on port X).

I have no idea how I can do that.

Can you help me ?

Regards.

Geoffrey
Nov 16 '05 #1
3 3354

"Geof" <gd****@hotmail.com> ha scritto nel messaggio
news:98*************************@posting.google.co m...
Hello,

I need to write an application to monitor incoming UDP packets on a
specific port.

This UDP port is already in use by a third party application.

The goal is : to execute some code each time the third party app
receives an UDP packet (on port X).

I have no idea how I can do that.

Can you help me ?

Regards.

Geoffrey


Use socket class , bound to the port X.
Parse tha data and do the same the other application does.
Bye.
Nov 16 '05 #2
> Use socket class , bound to the port X.
Parse tha data and do the same the other application does.
Bye.


Hello,

I can't bind to the port because it is already in use by the other app.

Regards.
Nov 16 '05 #3

"Geof" <gd****@hotmail.com> ha scritto nel messaggio
news:98**************************@posting.google.c om...
Use socket class , bound to the port X.
Parse tha data and do the same the other application does.
Bye.


Hello,

I can't bind to the port because it is already in use by the other app.

Regards.

If you get error
use reuseaddress , a property of sockets.
I had the same problem.
Bye
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Serdar C. | last post by:
hi there i just write a program works like a telnet client (with AsyncCallback).... everything works fine but i have a problem with packets received... i set the received packet size to 32768 (...
1
by: | last post by:
I cannot handle this.I can receive incoming but I cannot detect outgoing packets. I am using Windows XP no SP present. Thanks a lot for answers.
1
by: Marcelo | last post by:
_____ From: Marcelo Posted At: Friday, September 30, 2005 1:40 PM Posted To: microsoft.public.dotnet.languages.vb Conversation: Subject: Client and Server - Listen por packets in a specific...
5
by: Björn Olsson | last post by:
Hello All. If I where to capture network traffic, dropping packets and modifying packets. I.e write firewall functionality. Which API or SDK would be the correct choice? I would prefer to do it...
12
by: Janto Dreijer | last post by:
This is probably more of a networking question than a Python one, but it would be nice to know if someone has done this with Python's socket module. And besides one usually gets more information...
3
by: stuart79 | last post by:
I have created a form in excel using VB, the form is to monitor workload and how long taks take to complete. My department currently works from 6 inboxes and monitoring work that is coming in is a...
4
by: selvialagar | last post by:
I am doing a project in embedded system (in vc++.net 2003)...I need to allocate a pool of free space for the incoming packets.Once i received the packet in the pool, an intimation must be given to me...
4
drhowarddrfine
by: drhowarddrfine | last post by:
I have a new customer with a cash register that runs on Windows XP. This register software runs full screen and I'm told you can't run anything else while this is running, but I don't know what they...
0
by: Rajeshekambaram | last post by:
How to read the incoming packets and block using c sharp
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.