473,396 Members | 1,877 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,396 software developers and data experts.

Issue with UDPClient.JoinMulticast group or UDPClient.BeginRecieve

Hi all,

I am having a weird issue with sending and receiving multicast messages
either using the UDPClient object or directly with sockets.

Normally, my application works perfectly, receiving all messages async
through the BeginRecieve() method of the UDPClient.

But in some circumstances, for instance while connected to a Cisco VPN, my
application just doesnąt receive any multicast messages (the BeginRecieve()
method is never fired)

Now, to troubleshoot this I started Wireshark (Ethereal) to see if I could
see the packets, to my amazement while Wireshark is listening on the adapter
the application works perfectly on the VPN adapter, once I stop the trace,
the application no longer receives messages. I also elminated the UDPClient
object, and went back to raw sockets, with the exact same outcome.

There are no exceptions being thrown by the application at all, it Śseemsą
to be working, but it isnąt.

Is there some sort of permission I need to set to allow my application to
send/receive messages? Does anyone have any ideas of what Wireshark may be
doing that would allow my app to function? This app works perfectly on
normal LANS/WLANS it is just this odd VPN issue?

Any advice or help would be appreciated.

Cheers,

Karl

Jul 17 '08 #1
0 1011

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

Similar topics

4
by: Morten Overgaard | last post by:
Hi I'm listening on the SysLog port (514) through UDP. The problem is that I am not receiving anything nut I know that i get messages on the port. When I use KIWI to listen on the same port via...
0
by: Frank Rizzo | last post by:
I have a class that listens to and sends UDP packets. For some reason, if I listen to and send out packets via the same UdpClient object, everything works fine. If I send out a packet on a...
1
by: Dan Kelley | last post by:
I have 2 projects - 1 Winform project that sends Udp messages using the UdpClient class when a button is clicked, and a Console application that listens for these Udp messages. If I try to use...
1
by: Plem | last post by:
Hi All, I've allready posted this on the C# group (oops). I'm trying to get a UDPclient to receive. I use the sample code provided in HELP but to nbo avail. When the receive method is...
3
by: D. André Dhondt | last post by:
In VB.NET 2003, is there a way to create a System.Net.Sockets.UDPClient to listen to any address AND any port? I can get it to listen to any address, but only if I specify a port (for example,...
0
by: tccode97 | last post by:
To whom it may concern, I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link ...
1
by: tccode97 | last post by:
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link ...
0
by: matt | last post by:
Hi I built a class to poll an app on a udp port using the sync methods which worked fine. I've since changed to using beginreceive and now the poll works but I don't receive the response from...
3
by: cmhada | last post by:
I have some code that continually reads packets off of a udp port where the incoming packets are 26 bytes in length. CODE: byte recBytes = udpClient.Receive(ref ipEndPoint); I have left the...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.