Computer Science Canada Huge Multi-User Chat |
Author: | GhostCobra [ Fri Dec 30, 2005 5:38 pm ] | ||||
Post subject: | Huge Multi-User Chat | ||||
Got Source? Server Code:
Client Source:
Tested and works. This is for example, and mess with minUsers maxUsers values to increase decrease the loads in the server file. Client file is just a tool ![]() |
Author: | jrblast [ Sat Dec 31, 2005 12:57 am ] |
Post subject: | |
Set up the server so we can chat through you ![]() cool...Isn't there somehitn like this in the help menu for NET.OpenConnection (or w.e. the command is)? |
Author: | cool dude [ Sat Dec 31, 2005 4:47 pm ] |
Post subject: | |
nice although chat programs on turing is not someone would likely use. by the ways my firewall keeps blocking it (lol). |
Author: | GhostCobra [ Sat Dec 31, 2005 11:23 pm ] |
Post subject: | |
Yes, there is a chat program included with turing, but it only supports P2P chat. (Person to Person). This supports up to and including 45000 users. It uses almost all available ports on the server side. One thing I was thinking of, daisy chaining servers. Theoretically a central server with multiple NICs, running a few different instances of the program listening on different NICs each, would be able to multiply your ports by the number of IP addresses available. That is unless Turing actually doesn't give a rats ass what IP your using when accepting connections. If you want to test the program, I'm running it at 24.109.128.68 (stay off my music lol). |
Author: | GhostCobra [ Sun Jan 01, 2006 12:21 am ] |
Post subject: | |
Suppose I should program in some sort of notification system, didn't notice someone connected ![]() |
Author: | masterfenix [ Sun Jan 01, 2006 1:01 am ] |
Post subject: | |
that was me!!! |
Author: | [Gandalf] [ Sun Jan 01, 2006 1:08 am ] |
Post subject: | |
For some reason I can't connect anymore, "Net Error. Windows Socket Library Error #10061". If masterfenix is still connected then it may be that it only does accept one connection. Overall, it's a well made and fully functional program. As I mentioned using it, the next step could be to implement some current messaging protocol into your program, like IRC. Aside from that, maybe a slight aesthetic improvement would be nice ![]() *edit* Clearly messing around with the process priority is a bad idea. It works now ![]() |
Author: | jrblast [ Sun Jan 01, 2006 7:09 pm ] |
Post subject: | |
i got that same error without changing anything ![]() ![]() |
Author: | GhostCobra [ Mon Jan 02, 2006 12:50 am ] |
Post subject: | |
Yeah, I turned it off, it has memory leak problems (as all of Turing does when involving processes). |
Author: | jrblast [ Fri Jan 06, 2006 2:33 am ] |
Post subject: | |
oh...ill try running the server ![]() ![]() just gotta forward the ports, might be a min from posting time ![]() EDIT: Running and forwarded...But when i try to connect to myself...it doesnt work...get some error then the client crashes....well, connect to me ![]() EDIT2: Nope, can't still play runescape ![]() |
Author: | GhostCobra [ Fri Jan 13, 2006 4:11 pm ] |
Post subject: | |
Its "experimental". Meaning, something that can be done, but it's so unreasonably hoggish. |
Author: | Clayton [ Sat Jan 14, 2006 9:22 pm ] |
Post subject: | |
i like it, i showed it to my compsci class and we had a huge chat class, bit sluggish though but awesome still good job ![]() ![]() |
Author: | GhostCobra [ Sun Feb 19, 2006 1:23 am ] | ||||
Post subject: | |||||
*UPDATE* The code has been updated. If it crashes a connection it shall not be dropped ![]() CLIENT:
SERVER:
By the way, this program has actually been put into use. My district now uses it for a teleconferencing class. |