Cyanox
Cyanox
CC#
Created by Cyanox on 12/19/2022 in #help
❔ 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/0
4 replies
CC#
Created by Cyanox on 8/31/2022 in #help
Parsing JSON
I'm struggling to parse and iterate over a JSON array of "key/object" elements. For instance, something in this format:
{
"key1":{
"param1":value,
"param2":value
},
"key2":{
"parm1":value,
"param2":value
}
}
{
"key1":{
"param1":value,
"param2":value
},
"key2":{
"parm1":value,
"param2":value
}
}
Using Netwonsoft for JSON parsing.
47 replies