-
November 16th, 2012, 03:56 PM
#1
EXTREMELY simple chat with Borland C++ builder
Hello, i need your help with this:
i am making a skype "analog". It is just very basic chat, no ip. The main principle is to have two classes:
class User and class Server. I now need to send user1 message to user2. Of course that message should be sent to server (class Server), and then server would redirect it to the user2.
Message should be packed in an array or string.
Question: can you give me an example on how to send a message from memo1 box to "server" and then from "server"to memo2 (this is user2) box.
I think that i should write a message to array (array structure: user_id chat_text ), but HOW TO DO IT?
Everything should be done very basic, using structures and classes (and functions), no sockets!!!
I would be very grateful for your help.
Here is how the program window looks:
-
November 16th, 2012, 03:59 PM
#2
Re: EXTREMELY simple chat with Borland C++ builder
-
November 16th, 2012, 05:24 PM
#3
Re: EXTREMELY simple chat with Borland C++ builder
I'm sorry but very few people use Borland these days so you might get better response on a Borland site.
-
November 17th, 2012, 04:31 AM
#4
Re: EXTREMELY simple chat with Borland C++ builder
Besides, this forum name clearly states Visual C++ Programming, ain't it?
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|