Page 1 of 1
What I've been busy with latetly....
Posted: Sun Sep 07, 2008 10:54 pm
by Red Squirrel
A server/client set of C++ classes that also supports multithreading...
/attachments_legacy/it/post-21-1220842188_MTdesktopjpg.jpg
The server basically just takes connections and takes all data and sends to text file and sends a * to client each time it does this. So when I hold down a key if I get a constant stream of * it basically indicates that it's not too backlogged. Right now it's doing not too bad considering I got hundreds of local connections blasting out data to it. Server load could use a little work though, the code may need more tweakage.
Archived topic from AOV, old topic ID:3594, old post ID:23028
What I've been busy with latetly....
Posted: Sun Sep 07, 2008 11:14 pm
by ninja2007
umm can people play it like now?
Archived topic from AOV, old topic ID:3594, old post ID:23029
What I've been busy with latetly....
Posted: Sun Sep 07, 2008 11:45 pm
by Death
ninja2007 wrote:umm can people play it like now?
Not that kind of server. It's the building blocks to create a server that can handle numerous essential server logistics. Red's been having some great progress with it so far it seems. Good job.
Archived topic from AOV, old topic ID:3594, old post ID:23030
What I've been busy with latetly....
Posted: Mon Sep 08, 2008 9:01 am
by Red Squirrel
Yeah that actual server does not really do much. I managed to make it sustain about 800 connections blasting out data. and by sustain, I mean the server grinding to a halt, but still handling data, sorta. there's still issues to work out as some connections get ignored but in general its coming out nicely. Just need to work on efficiency so its not as hard on the machine.
Then again I'd have to compare with other server applications as 800 connections blasting out data is quite a lot.
Archived topic from AOV, old topic ID:3594, old post ID:23035
What I've been busy with latetly....
Posted: Sun Sep 14, 2008 10:08 pm
by Red Squirrel
Things are starting to look a bit better now....
Code: Select all
...
10.1.1.201:52567 Connected [Approx 10278 Total]
10.1.1.201:52165 Connected [Approx 10279 Total]
10.1.1.201:52448 Connected [Approx 10280 Total]
10.1.1.201:52166 Connected [Approx 10281 Total]
10.1.1.201:52466 Connected [Approx 10282 Total]
10.1.1.201:52506 Connected [Approx 10283 Total]
10.1.1.201:52505 Connected [Approx 10284 Total]
10.1.1.201:52507 Connected [Approx 10285 Total]
10.1.1.201:52555 Connected [Approx 10286 Total]
10.1.1.201:52554 Connected [Approx 10287 Total]
10.1.1.201:52556 Connected [Approx 10288 Total]
10.1.1.201:52566 Connected [Approx 10289 Total]
10.1.1.201:52568 Connected [Approx 10290 Total]
10.1.1.201:52518 Connected [Approx 10291 Total]
10.1.1.201:52516 Connected [Approx 10292 Total]
10.1.1.201:52512 Connected [Approx 10293 Total]
10.1.1.201:52523 Connected [Approx 10294 Total]
10.1.1.201:52524 Connected [Approx 10295 Total]
10.1.1.201:52525 Connected [Approx 10296 Total]
10.1.1.201:52522 Connected [Approx 10297 Total]
10.1.1.201:52517 Connected [Approx 10298 Total]
10.1.1.201:52184 Connected [Approx 10299 Total]
10.1.1.201:52185 Connected [Approx 10300 Total]
10.1.1.201:52186 Connected [Approx 10301 Total]
10.1.1.201:52228 Connected [Approx 10302 Total]
10.1.1.201:52193 Connected [Approx 10303 Total]
10.1.1.201:52194 Connected [Approx 10304 Total]
10.1.1.201:52574 Connected [Approx 10305 Total]
10.1.1.201:52575 Connected [Approx 10306 Total]
10.1.1.201:52579 Connected [Approx 10307 Total]
10.1.1.201:52583 Connected [Approx 10308 Total]
10.1.1.201:52584 Connected [Approx 10309 Total]
10.1.1.201:52585 Connected [Approx 10310 Total]
It's totally backlogging at this point but in a real life situation I'd be kicking off any abusive connections sending data too fast.
Archived topic from AOV, old topic ID:3594, old post ID:23141
What I've been busy with latetly....
Posted: Sun Sep 14, 2008 11:58 pm
by Anonymous
nerd lol... jp wish i new this shit
Archived topic from AOV, old topic ID:3594, old post ID:23148