Solved

Send a message to client in a Multtier application?

Posted on 2002-05-09
5
150 Views
Last Modified: 2010-04-04
Hy everybody,

Im working in a Multitier application and i want to know if is there any way to the server send a message to a client side ?, i m using TSocketconnect and have lots of clients in diferents IP.
thanks,

Beto.
0
Comment
Question by:netbeto
5 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 7000975
Hi netbeto,

usually, client connects to the server and ask server to do something. There is TClientSocket and TServerSocket components.

TServerSocket allow you to reply users using different threads. See threadblocking mode. TClientSocket also need to run in blocking mode. Working bu this way you should'n tave propblems with amount of clients.

------
Igor.
0
 
LVL 4

Expert Comment

by:nestorua
ID: 7001450
HI,
The TClientSocket.Socket has SendText, SendBuf methods for
sending messages.
Sincerely,
Nestorua.
0
 

Author Comment

by:netbeto
ID: 7002397
Hi ITugay

the problem is! i m not using TServerSocket, am i have to have a Internet server (like Domino or something)?? cause i dont have one, so i using TSocktConect! have you done something with that (Socket, DCom) etc, thats the point, in a DCom application im not sure about send message to the clients!!

thanks,

Beto.

0
 
LVL 9

Accepted Solution

by:
ITugay earned 100 total points
ID: 7004199
Hi Beto,

do you mean that server needs to initiate communication with client? It looks like wrong concept, not sure that it is possible, or you need to have server on client part.

-----
Igor.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005485
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from ITugay

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now