Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global Problem? or just me?
#1
I notice something when I start my server. Each time I start it now, I get like 1-2 connections right away. It's probably from someone's client being open on their computer. And sure that's fine that it notices the server is online. But heck, it seems like a client connects to my server like 3 times, taking up 3 slots (indexes). Now if I login when i opened the server, these 3 indexes are taken. But nobody is online, so I automaticly get Index 4. I just want to know if somebody has noticed this problem before?
Reply
#2
It's probably your problem. I use a similar system for checking if the server is online in Merrimint as you do and it doesn't do this. Perhaps your not terminating connections properly?
Reply
#3
Thats kinda the thing. I see 3 connections appearing from the same ip, but only 1 is terminated.
Reply
#4
DFA Wrote:sounds like a nasty problem
It is a nasty problem, it's not affecting anything as far as I can see. But my server stops accepting connections after a couple of days up with players online. It's something I for sure need to fix. But I might need external help for this. And it's hard to figure out since I have byte arrays, iocp, packet buffer+nagling turned of, highindex and all kinds of things that can be affecting this.
Reply
#5
William Wrote:
DFA Wrote:sounds like a nasty problem
It is a nasty problem, it's not affecting anything as far as I can see. But my server stops accepting connections after a couple of days up with players online. It's something I for sure need to fix. But I might need external help for this. And it's hard to figure out since I have byte arrays, iocp, packet buffer+nagling turned of, highindex and all kinds of things that can be affecting this.

Shouldn't you start with how the server accepts connections? Or maybe your online check is causing it to send more than one connection?
Reply
#6
SInce I disabled the nagling I had to add a new packet buffer, and I don't think thats whats causing it either. And same for indexes, but all of it has to do with the indexes so I just mentioned it.

I've already checked the receiving of connections and I can't see anything wrong with it.

Do you mind explaining the function behing anti hammering?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)