You forgot to put a `_socket.Connect(_ep);` in the UDPClient. If you follow these instructions as shown here, the client will never be listening properly.
It was left out intentionally since UDP is a connectionless protocol. The client is just listening for data from the specified endpoint, without really connecting to the server.
@@k23software I have a full NUnit testing suite around my implementation of Client/Server, so weird that it works on your end but not on my end. The code isn't even that complicated, but I will dig in and see if I can find out why it's funny on my end.
Do you have a video on how to create a server using (UdpClient ) - server and client ?
In this example the udp Server sends the data to the client , am I correct?
4:20
what is this fade in script?
What exactly do you mean?
He's changing from server code to client code
You forgot to put a `_socket.Connect(_ep);` in the UDPClient. If you follow these instructions as shown here, the client will never be listening properly.
It was left out intentionally since UDP is a connectionless protocol. The client is just listening for data from the specified endpoint, without really connecting to the server.
@@k23software in testing, I found that the listen operation would never pick up the response from the server unless I called Connect(...).
@@funknick Interesting. I just tested it again and it works with and without Connect() for me. Thank you for pointing that out.
@@k23software I have a full NUnit testing suite around my implementation of Client/Server, so weird that it works on your end but not on my end. The code isn't even that complicated, but I will dig in and see if I can find out why it's funny on my end.