Click here to Skip to main content
15,888,195 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a UDP Listener running as a service on a server written in .Net which has been working fine, but now my client is using a VPN connection to the server as well.

It seems that the UDP listener is not detecting any traffic from the VPN connection

I've tried binding it to IPAddress.Any

Any suggestion appreciated.

Socket is been created like:
VB
Dim soUdp As New Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)

VB
Dim localIpEndPoint As New IPEndPoint(IPAddress.Any, UDP_SocketNO)

VB
soUdp.Bind(localIpEndPoint)


Thanks
john
Posted
Comments
Richard MacCutchan 20-Dec-12 8:51am    
Are you sure that your client is sending it to the correct IP address and port? Also remember that UDP is not reliable and packet delivery is not guaranteed.
pokemonjohn 20-Dec-12 9:03am    
My server has 2 network adapters - 1 is a physical card the other is a VPN.

I have connections coming into the server and been picked up by the UDP listener when the data come via the physical network card.

When data comes in via the VPN the listener does not pick it up. I know data is coming in as wireshark is picking it up - it all looks good - the only difference is the adapter routing the data.

1 solution

I found out it was how a 3rd party was passing through the data to the VPN - once they changed a setting it all worked again !
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900