Jump to content

TCP Chat Room..


z0mgItsJohn
 Share

Recommended Posts

This Is Just A Little Example.. Of A TCP Chat Room... :P

Screen Shot #1.) Chat Room - Server (Beta)

Posted Image

Screen Shot #2.) Admin Tool - Disconnect User

Posted Image

Screen Shot #3.) Chat Room - Client (Beta)

Posted Image

Server Hotkeys

[1] = Enter / Return ( Sends Text )

[2] = Esc / Alt+F4 ( Exits )

[3] = Alt+F1 ( Opens Admin Tool / Closes Admin Tool )

Client Hotkeys

[1] = Enter / Return ( Sends Text )

[2] = Esc / Alt+F4 ( Exits )

Please.. Feel Free To Post Comments, Bugs.. Etc.. :(

If You.. Need Help Post Or.. Add Me On MSN ( Pk4Fun@Live.Com )

Oh Yea... Download Link :

http://members.cox.net/data_base/Chat%20Room%20Project.zip

Latest Projects :- New & Improved TCP Chat

Link to comment
Share on other sites

John2006, I am kinda wondering why your coding this way, I've never seen it before.

You use While ('1'), when there is no need for that! While 1 does the trick, same with the other stuff that you use ('0') when you can use 0. Maybe for noobies you could make it easier for them to understand by other using functions like TCPAccept TCPConnect at the top and stuff, instead of using more functions! By anyway, good program :P

Link to comment
Share on other sites

John2006, I am kinda wondering why your coding this way, I've never seen it before.

You use While ('1'), when there is no need for that! While 1 does the trick, same with the other stuff that you use ('0') when you can use 0. Maybe for noobies you could make it easier for them to understand by other using functions like TCPAccept TCPConnect at the top and stuff, instead of using more functions! By anyway, good program :P

It Looks More Even Too Me :idea:.. Thats Why I Type Caps First Word.. :(

Latest Projects :- New & Improved TCP Chat

Link to comment
Share on other sites

New Link : Exe... And Source!

http://dc45.4shared.com/download/65702696/...211042-4780b9c8 :P

Edit : Extra Notes

If You Close The Server The Client(s) Will Close..

Log File Is Deleted On Exit Inless You Edit "$Delete_On_Exit"

There Is A Small Bug.. Some Times When You Disconnect Or A Client Closes It Sends " $User Disconnected " Twice..

Edited by John2006

Latest Projects :- New & Improved TCP Chat

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...