tcp server: how to send message to all the connected client at everytime interval

G

ganesh.kundapur

Hi,
I want to come up with a server which will send some message like
"goodbye" or something else to all the connected client at every 10
sec interval. Could somebody plz help me how to send message to all
the connected client at every 10 sec interval.

Thanks,
Ganesh
 
N

Nick Keighley

  I want to come up with a server which will send some message like
"goodbye" or something else to all the connected client at every 10
sec interval. Could somebody plz help me how to send message to all
the connected client at every 10 sec interval.

you probably want to ask this on a platform specific group. A Unix
group is probably ok for general socket stuff.
 
A

Abubacker

Hi,
I want to come up with a server which will send some message like
"goodbye" or something else to all the connected client at every 10
sec interval. Could somebody plz help me how to send message to all
the connected client at every 10 sec interval.

Thanks,
Ganesh

Need to make some changes after implementing a single client and
server connection establishment
, after that use select function and maintain a fd set of all the
connected client ,
I hope that if you are thorough in the select function then it'll
solve all your requirement,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top