Code center > Bugs and fixes

Peter, will Hybrid IM work with your IM?

<< < (8/8)

Peter:
Technically there isn't file management on the server. It's all in memory.

Had to take a look into the code for the latter questions. I wasn't sure I took care of race conditions, seems I did. Yay

Before the bot it send it's moved to a variable sendData in a object ConnectedClient then it'll send the bot. The bot will stay in there (but won't be touched) till the next bot it being send to that client.

Server will handle tcp packages one at a time. One it gets in, or when it's time to send one. It doesn't really deal with multiple clients at the same time, it can handle part of each client transmission in quick succession(it's single threaded). Like it received 2 packages from client A, and 1 to go, it received 3 from client B with 2 to go and it send 2 packages to Client C with 3 more to send.

Navigation

[0] Message Index

[*] Previous page

Go to full version