Skip to content
WJunction - Webmaster Forum

C# Trackbar

Status
Not open for further replies.

cgworld

Experienced Member
566
2010
9
Finally I got the Client/Server part working ... With help of Hyperz ofc . His chat Server/Client helped me alot.
Now clients can connect to the server without any problems.

The program i am making is for webmasters with many many tools e.g leeching etc ...

Anyway i would like to do one more thing with TrackBar, Basically i will use it for adjusting the speed of a process, it is both on client/server so what i want to do is the server have to update the client with its current value !

vwq4g2.jpg


For example if i change its value on the server , the client(s) which are connected should automatically pickup the value from the server and update it as it is on the server !


Thanks again
 

1 comment

First of all, why would you want to place a speed limit of any kind on the client? I'd think whatever the client is doing, he'd want to get it done as fast as possible.

To answer the question, what you need here is a specification which defines how data should be send/read and how the data is formatted. The way to go about it is to create a shared library which is used by both the server and client to communicate. To be efficient this communication should be in binary format and not plain text. Though plain text would be simpler to implement.

I'm not gonna write a code example for this since it would take a few hours and a lot of testing. I wouldn't be surprised if there are libraries out there which you can use.
 
Status
Not open for further replies.

About the author

C
Experienced Member · Joined
566
Messages
9
Reactions
18
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom