MeGaLoDoN
Library to send mouse and key Inputs
I used this library: https://github.com/michaelnoonan/inputsimulator
10 replies
I need help debugging c# event-based reliable UDP implementation.
So I am dumb and I was running program in release mod, and thats way break point was not working. I wrapped CheckForMessages in try catch, and I found that I get this exception on the client: "System.InvalidOperationException: You must call the Bind method before performing this operation.
at System.Net.Sockets.Socket.ValidateReceiveFromEndpointAndState(EndPoint remoteEndPoint, String remoteEndPointArgumentName)
at System.Net.Sockets.Socket.ReceiveFromAsync(Memory`1 buffer, SocketFlags socketFlags, EndPoint remoteEndPoint, CancellationToken cancellationToken)
at System.Net.Sockets.UdpClient.ReceiveAsync(CancellationToken cancellationToken)
at UdpPeer.CheckForMessages(CancellationToken token) " How to fix it? what if I dont want to bind it to specific port?
14 replies