© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
Cyanox

❔ Issues with receiving UDP data using UdpClient

I'm trying to receive data sent from my NodeJS server using the
UdpClient
UdpClient
class, specifically
UdpClient.Receive()
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/0
BlazeBin - vjwmkjfaftxf
A tool for sharing your source code with the world!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

UdpClient doesn't receive data with ReceiveAsync but does with BeginReceive
C#CC# / help
3y ago
❔ TCP vs UDP
C#CC# / help
3y ago
❔ Change UDP Port
C#CC# / help
4y ago
Task cancellation in UDPClient.RecieveAsync not triggering
C#CC# / help
15mo ago