Important alert: (current site time 7/16/2013 5:59:32 AM EDT)
 

winzip icon

Multi Chat Example

Email
Submitted on: 9/11/2002 1:36:54 AM
By: Jerome Scott II aka codecaine  
Level: Intermediate
User Rating: By 9 Users
Compatibility: Delphi 5
Views: 20879
author picture
(About the author)
 
     Shows You How To Make A Multi Chat Using TClient And TServer
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 163 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/15/2002 5:13:45 PMvdeegan

I really enjoy Jerome's willingness to share these concepts. They've helped me get a better picture of what's going on with these various scenarios.
(If this comment was disrespectful, please report it.)

 
1/29/2003 10:53:24 AM

this is a good code
thank veru much
i learn very much of it
but some detail i don't understand
can u explain for me???
example::::

csUserText:
begin
Fullstring := Socket.ReceiveText;
ChatMemo.Lines.Add(FullString);
ClientStatus := csIdle;

i don't know why ??at here ,what does fullsting contain???
i can guess fullstring=username+":"+textchat
but i don't know why???
help me??thank u very much

??
(If this comment was disrespectful, please report it.)

 
11/3/2004 6:23:10 PM

Muchisimas gracias, Jerome... de veras me ha servido de mucho para entender ciertas cosas,,,lo he modificado para adaptarlo a mi programa a modo de una sala de chat...
Thanks...
(If this comment was disrespectful, please report it.)

 
11/19/2006 2:21:13 AMFN

This WebSite Very Good's. I like it. Thank You Very Much For Support Me. Give Me Helping! By.....Programer???
(If this comment was disrespectful, please report it.)

 
1/28/2007 12:54:46 AMZeuspelink

there are alot of ways in sending text in a chat program the best way(and hardest) is to use a record communication block
ex.
TCommBlock = record
UserName : string[255];
UserGlobal : string[255];
end;
but this record should contain more info...
jerome used a simple(and easy to understand) example fullstring means username + TextToSend that's manipulation of string.
(If this comment was disrespectful, please report it.)

 
6/9/2011 8:18:35 AMJerome Scott II aka codecaine

Thanks for you input Zeuspelink
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.