September 3rd, 2009, 01:38 PM
its a recursive function, never ends, this will blow up the stack
nvm: i missed the part that you said you wanted to make it blow up :P
September 3rd, 2009, 09:14 AM
this will help you:
but, keep in mind: a lot of clients connected will create a lot of threads, which can be a little problem. once you have...
September 3rd, 2009, 08:58 AM
void makeitwork ( unsigned char* input, unsigned char* output, unsigned inputlength )
// index of the new array
unsigned int tempindex = 0;
// alloc new array with the new bytes
September 2nd, 2009, 10:45 PM
September 2nd, 2009, 05:43 PM
the most complete reference you can get from MSDN... books just helps if you are searching for especific things... like "multithreading", "network programming", and they will (almost 80% of the...
September 2nd, 2009, 05:28 PM
IOCP helps alot on that, and, sometimes, large-scale servers manage all those clients with many servers, not just one...
its like a gaming server... if the game gets too big, like a MMORPG server,...
September 2nd, 2009, 05:04 PM
you are using a unique loop for receiving data from the clients... look at the code, accept() is called once...
first, you will need to create an array of SOCKETS to store client connections... ...
September 2nd, 2009, 03:06 PM
thank you guys, i rewrited it, now the "final" idea implementation:
September 1st, 2009, 12:20 PM
thanks for the comments guys... i'm really new to c++... so there is there any other method to know the size to use? coz it must be sent in the packet for splitting data that comes to the server (or...
August 31st, 2009, 08:44 PM
Hello guys, I'm writing a network library to use in the future on my projects, but I got something that I don't know why is happens...