Page 2 of 2

Re: Make Online TCP Chat

Posted: Thu Sep 15, 2011 9:27 pm
by 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.

Re: Make Online TCP Chat

Posted: Thu Sep 15, 2011 9:49 pm
by 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 ?

Re: Make Online TCP Chat

Posted: Thu Sep 15, 2011 10:00 pm
by 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.