Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Send Error on Large Blocks
sommerauer

From: WEiz, Austria
Posts: 1
Member Since: 05/09/03
posted May 9, 2003 2:59 PM

I'm trying to send large data blocks over a TCP connection, that is send is called with a data buffer with about 1.000.000 bytes. Everything worked fine when the sender routine executes on a WinNT oder Win2k machine.
But on WinXPpro (SP1) a problem arises: if the data block size is > 233472 bytes (= 0x39000) the send routine terminates with an error code of 10054 (WSAECONNRESET), as if the server would have terminated the request. From various trials (different operating systems and so on) I know that the problem is on the sender's side. I've tried with other languages (pure C++), other compilers (National Instruments CVI) and so on: the result is always the same: Windows XP can not send data buffers > 0x39000 bytes.
Is there anything known on this issue - if an simple example is needed I can provide one in VB.net

Thx in advance
E. Sommerauer
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 14, 2003 10:56 AM

Hi,
I was unable to reproduce this problem on my XP machine.
Regardless, you should really break up data of this size into chunks, and make several calls to Send instead.
-ken
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX