Make Online TCP Chat

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
13 posts Page 2 of 2
Contributors
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Make Online TCP Chat
mandai
Lol @ Cody's comment. I'm fine if you copy my posts as long as my name is in there somewhere. I'll let everyone have this sample.
i Still need some help in making the client and host and how to declare the encoding
btnListen_Click is called when you want the server to listen.
btnConnect_Click is called when you want to connect to the server.

You can copy the code into a single project, or you could split the relevant client/server functions into 2 different projects.

The chat is encoded/decoded as ASCII in the sample.
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Make Online TCP Chat
M1z23R
I am so sorry :/ I didn't even relaise it was VIPs :/ but if i am not mistaking, mandai posted this same "tutorial" - code in normal users section ?
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Make Online TCP Chat
mandai
Over a year ago I did make a client/server project (link) similar to this, but I stopped supporting it as the built in features were more than what a basic sample project needed.

Edit:
@M1z23R I have since updated part of the server code.
13 posts Page 2 of 2
Return to “Tutorial Requests”