❔ Issues with receiving UDP data using UdpClient
I'm trying to receive data sent from my NodeJS server using the
UdpClient
class, specifically UdpClient.Receive()
. The code never makes it past that line, as it never receives the data. I've validated the data it being sent properly through Wireshark and even written another NodeJS script to receive it, which worked fine. Does anyone know what I'm doing wrong?
https://paste.mod.gg/vjwmkjfaftxf/0BlazeBin - vjwmkjfaftxf
A tool for sharing your source code with the world!
2 Replies
Ipaddress.Any is a server-specific address that means listen to client activity on any address.
I think you need to be more precise about the server address on your client code
I'm not overly familiar with these classes, though
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.