Solved

Proadcasting Messeges

Posted on 2002-07-27
7
245 Views
Last Modified: 2013-11-13
Hi
I Wont to broadcast messege as string from program on the server side to all programs on the clinets that connected to the server program .
Note:
     Server and Client Programes is made by me .

I'm using:
   visual basic6 ,
   winsock control (UDP protocol),
   windows2000 professional .

i dont need to use loop becous i dont know how meny clients are running at a time

Is it Possible ????
How???
0
Comment
Question by:sisi2000
7 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
Comment Utility
You can create an event in server program that every client can catch and act accordingly.

server: raiseevent evnt1(cancel as boolean)


clients:
dim witheevents mysvr as myserver.main

in
sub mysvr_evnt1(cancle as boolean)
    msgbox "event is broadcasting"
end sub

of course, those are not real names.
;)
0
 
LVL 5

Expert Comment

by:jayeshshah
Comment Utility
instead you can use programmes like Lantalk to broadcast messsages.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
There is no point in use other program. Windows 2000 supports boradcasting messages (as NT) to net but the question here is the program needs to do, not the system, am i right?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:sisi2000
Comment Utility
Hi Richie Simonetti
  You r right i dont need system message from NT as example
i need to send string from my server program to all my client's programs .  
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
Well, then, my first comment stands.
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi sisi2000,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Richie_Simonetti's comment(s) as an answer.

sisi2000, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 47
base64 decode encode 12 96
passing parameter in sql procedure 9 50
Adding to a VBA? 6 46
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

772 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

11 Experts available now in Live!

Get 1:1 Help Now