Jump to content
  • Advertisement

p4tr1ck

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

100 Neutral

About p4tr1ck

  • Rank
    Newbie
  1. p4tr1ck

    Client error

    It doesn't appear to work. I'm getting the same error.
  2. p4tr1ck

    Client error

    Hello.Immediately after my client's connection code to the server, I get repeated NetExceptions. Here's the connection code: config = new NetPeerConfiguration("NetGame"); client = new NetClient(config); client.Start(); // Registration message NetOutgoingMessage registration = new NetOutgoingMessage(); registration.Write(username); registration.Write(Game.version); // Connect with the registration message client.Connect(host, 3579, registration); Console.WriteLine("[client] Connected to " + host + ", registering..."); After some debugging, I've discovered that the NetException is thrown because the NetConnectionStatus is RespondedConnect. Unfortunately I've got no idea what this means or how to fix it. The only idea I have is that it's just a failed connection, but I'm not sure. Any suggestions? Thanks.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!