473,386 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Slow TcpClient

Hi all

I'm writing a newsgroup reader in C# and I've found the TcpClient to be
extremely slow, when downloading a list of newsgroups for example it runs at
about 8Kb/sec over a 2Mb/sec connection.

Any ideas? Is this just the way it is??

Thanks
Kev
May 27 '06 #1
3 2188
Mantorok wrote:
Hi all

I'm writing a newsgroup reader in C# and I've found the TcpClient to be
extremely slow, when downloading a list of newsgroups for example it runs at
about 8Kb/sec over a 2Mb/sec connection.

Any ideas? Is this just the way it is??

Thanks
Kev


Try using Thunderbird to download the list of groups. If it is just as
slow, then it would be either the connection or the news server. I use
Thunderbird for mail and news and get very fast downloads on my 7Mbs
connection.

If Thunderbird downloads fast for you, then it would be something in
your code. You would have to post the code that does the downloading to
have others help you with it.

Jim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol
May 27 '06 #2
Can you show the newsgroup your code?

chanmm

"Mantorok" <tw**@twat.com> wrote in message news:44******@212.67.96.135...
Hi all

I'm writing a newsgroup reader in C# and I've found the TcpClient to be
extremely slow, when downloading a list of newsgroups for example it runs
at about 8Kb/sec over a 2Mb/sec connection.

Any ideas? Is this just the way it is??

Thanks
Kev

May 27 '06 #3
I don't mean to be negative here :) but I just have to ask. Why another
news reader? Or is it just an exercise so you can develop skills with the
network communication classes?
--
Dale Preston
MCAD C#
MCSE, MCDBA
"Mantorok" wrote:
Hi all

I'm writing a newsgroup reader in C# and I've found the TcpClient to be
extremely slow, when downloading a list of newsgroups for example it runs at
about 8Kb/sec over a 2Mb/sec connection.

Any ideas? Is this just the way it is??

Thanks
Kev

May 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim W | last post by:
This is a cross-post from the .NET group since it looks like it may not be ..NET. New information since the original post is that is the wireless network is enabled and connected the socket...
11
by: ajou_king | last post by:
I was running some tests on my Win32 1GHZ processor to see how long it would take to transmit objects numerous times via TCP/IP using C# ..NET Remoting vs the C++ trustworthy method of binary...
5
by: Jim W | last post by:
I have an ASP.NET app that has very slow connect times using TCPClient, or the Socket class, or even calling a COM object that uses C socket calls on certain similar XP SP2 boxes. On those...
4
by: Andrew Jackson | last post by:
I am writing a newsgroup client. I have the protocol figured out. But I get slow transfer speeds off any of the network objects read the data from For example one of the commands for a news...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.