471,319 Members | 1,189 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Speed (bandwidth) limit?

Can I control the maximum speed that a connection (remoting or sockets)
can reach with C#?

Thanks in advance.
--
Feb 6 '06 #1
3 6219
Not really. There is no built in throttling mechanism for sockets at
the socket layer. You can control the bandwidth of the sockets you open,
using a throttling mechanism (you would actually wait between reads). You
should be able to find an algorithm on the web.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"anonymono" <no@no.no> wrote in message
news:ds**********@nsnmpen3-gest.nuria.telefonica-data.net...
Can I control the maximum speed that a connection (remoting or sockets)
can reach with C#?

Thanks in advance.
--

Feb 6 '06 #2
Nicholas Paldino [.NET/C# MVP] escribió:
Not really. There is no built in throttling mechanism for sockets at
the socket layer. You can control the bandwidth of the sockets you open,
using a throttling mechanism (you would actually wait between reads). You
should be able to find an algorithm on the web.


Thanks for the info, it clarifies things a lot. But how can this
"workaround" be done for Remoting?

Regards.

--
Feb 6 '06 #3
You can't do it for remoting, really. The transmission aspect of it
over the network is handled at the framework level (at the termination sink,
I believe), and there is no hook that you can use to change that.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"anonymono" <no@no.no> wrote in message
news:ds**********@nsnmpen3-gest.nuria.telefonica-data.net...
Nicholas Paldino [.NET/C# MVP] escribió:
Not really. There is no built in throttling mechanism for sockets at
the socket layer. You can control the bandwidth of the sockets you open,
using a throttling mechanism (you would actually wait between reads).
You should be able to find an algorithm on the web.


Thanks for the info, it clarifies things a lot. But how can this
"workaround" be done for Remoting?

Regards.

--

Feb 6 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by blizzard | last post: by
9 posts views Thread by Chibi | last post: by
11 posts views Thread by Doug Laidlaw | last post: by
1 post views Thread by outune | last post: by
2 posts views Thread by Mike Kober | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.