Socket connection is send TWICE to the listener
3 replies [Last post]
QuantumHive
WoM Member
Members
WoM Member: 512792
WoM Coins: 3

!!! IF YOU ARE NOT A DEV, PLEASE DO NOT REPLY !!!

First of all, hi, I'm QuantumHive a Developer at MCForge.net (server software forked from MCLawl).

Second of all, I'm trying to fix all derps and bugs some people left behind in Classic.

Please try not to read or reply if you don't know anything about networking and/or basic programming.

 

Here's the problem: the World of Minecraft client sends a socket connection TWICE to the server.

I've been doing some debugging on the server side. And noticed that World of Minecraft users send this connection twice. Now this bug seemed to be relatively new. It appeared around november/december. So I'm assuming since the latest World of Minecraft release (I know this from the server logs, because it says World of Minecraft users are connected TWICE). When connecting from Minecraft.net, this bug does NOT appear.

Now here are some suggestions:

  • Fix this for the next release
  • Let me fix it?
  • There's no download available for older releases, let that option be available

If you don't understand the problem, here's a more detailed description:

The server listens to any asynchronous incoming socket connections. When one is inbound, the server accepts it and handles this connection. When it's finished handling, the server waits for the next incoming connection. Immediately after it's finished, the server receives the same socket connection from the remote client (the same World of Minecraft user).

Here's a screeny in C# just in case you don't get it:

http://puu.sh/1OgxP.jpg

I hope I made the problem clear, if you have any questions, please don't hesitate to reply on this or leave me any message here or at MCForge.net.

QuantumHive
WoM Member
Members
WoM Member: 512792
WoM Coins: 3
Okay, just disregard this

Okay, just disregard this thread, I'll blame xWom for this (badpokerface).

I made an error in judgement blaming World of Minecraft for this.

(but still you should set older releases available as download).

QuantumHive
WoM Member
Members
WoM Member: 512792
WoM Coins: 3
Sorry for the false blame

Sorry for the false blame here, I didn't test it good enough to know for sure if it was World of Minecraft or XWOM.

Somehow I thought it was World of Minecraft and out of frustation I made this post.

For anyone interested in following this issue:

http://mcdzienny.cba.pl/viewtopic.php?f=9&t=1730&p=6834#p6834