troubleshooting Question

When to use Indy TcpServer.IOHandler.WriteBufferOpen

Avatar of enigmasolutions
enigmasolutions asked on
6 Comments1 Solution2555 ViewsLast Modified:

In our application I notice we are using IOHandler.WriteBufferOpen as follows:
On the client AND on the server we are doing something like this...

          Connection.IOHandler.Write(   Some Stream Data    )

Our application is a typical client server application (an accounting software package actually) where the client sends small requests for data and the server returns varying size streams of data.

We are getting problems connecting to a server that is running on a very poor internet connection (3rd World Country - 256kbps internet).

A short packet of information such as the initial login works.  But then we get Read Timeouts when a slightly larger packet of information is being sent from the server to our client.  Interestingly, we don't get any problem sending huge data the other way (even with writebuffer used on our client) - I guess that is because our internet technology is much better.

I am most interested in QUESTION 2 (below) because I want to understand wny my developers may have used it.

Question 1 -  Should we get rid of the WriteBuffer code?

Question 2 - In what scenarios would you use WriteBuffer?

Question 3 - Please confirm - Setting UseNaggle:=false will not help?

Question 4 - Please confirm - Setting that ReuseSocket:=rsTrue will not help?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros