hii

how can we send messages periodically to client from server... in C

i am running a client server program in C on linux....

in which my server has to ask some parameters (like system Up Time, no of processes ) from client.... i want this function to work periodically ....

plz help me out!!

Regards!

Recommended Answers

All 2 Replies

clients ask information from servers, not the other way around. In your case your server is acting as the client, and the clinets are the servers. So you have one client with many servers.

Or you could have the clients periodically push the information to the server intead of having the server pulling the info from each client.

oh yes sorry my mistake.... :(

so how will client send information periodically??? do i have to use any time function?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.