Skip to content

UDP Socket exception #132

@JitishxD

Description

@JitishxD

Describe the Bug

When i disconnect from the game/server, the following error appears in the console and logs continuouly:

[ERROR] UDP Socket exception:
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP) at Hkmp.Networking.Server.NetServer.ReceiveData(CancellationToken token) in /home/runner/work/HKMP/HKMP/HKMP/Networking/Server/NetServer.cs:line 155


Steps to Reproduce

  1. Start the HKMP standalone server.
  2. Connect with a client.
  3. then Disconnect the client
  4. Observe the server log output.

Environment

Component Version
HKMP Server v2.4.3
OS Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions