Computer Science Canada Internet Chatting |
Author: | FizixMan [ Sun Dec 08, 2002 4:07 pm ] |
Post subject: | Internet Chatting |
I used to talk to a friend of mine through IRC while she was at work, but now they got new firewalls and settings that don't allow her to connect anymore... they have ports 80 and 81 open... I saw a little blurb about someone's netchat program and I was wondering if it works over the internet and if it can be used on those ports... If not, how can I program one? It would really mean a lot to me 'cause otherwise I can't talk to my close good friend anymore! |
Author: | Dan [ Sun Dec 08, 2002 5:17 pm ] | ||
Post subject: | la la la | ||
it is posiable to make a chat progame in turing that runs on port 80, but the problem is i dont think it works over the net (just on netwroks). but here is the code any way, just chage port to 80 to comiunate over port 80.
sory about the spacing it may be a bit off also if you whont to tlak to your frend there are a lot of chat progames out there that will let you slect a port to use. |
Author: | WooFerPPK [ Sun Dec 08, 2002 5:55 pm ] | ||
Post subject: | |||
sorry if you didnt want me to edit this but i modifed the code and it works over the net. Im very VERY close to finding the problem with the missing characters. I almost got it to, just for some reason the after a few msg's the msg screws up and somtimes doesnt apear. When i fiqure it out ill send it to u guys.
|
Author: | Tony [ Sun Dec 08, 2002 6:17 pm ] |
Post subject: | |
I've heard from Martin that because of the way Net was build in turing, some characters @ the beginning of the string might get cut off. If thats the case, what you do to fix the problem is send a message with " " added in front of the message and once recieved, you just check for first character. If its a " " you just remove it put line(2..*) |
Author: | Dan [ Sun Dec 08, 2002 6:39 pm ] |
Post subject: | |
you can download my verion of the net chat progame form ftp://swat@danco.no-ip.com/Turing/Turing%20Programs/Turing%20Chat/netchat.zip |
Author: | FizixMan [ Mon Dec 09, 2002 11:06 pm ] |
Post subject: | |
Thanks for your help and immediate response guys, I really appreciate it. Though I never had a chance to test the program with my friend 'cause the firewall changed again at her work and now IRC is working again. But again thanks anyways... at least now I got the program and if it happens again we can test it. |