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: incomplete data
delpiero

From: USA
Posts: 3
Member Since: 03/01/17
posted March 1, 2017 2:06 PM

I am trying to figure out the best method to receive all data.. I saw this but not sure how to do it.

>>multiple Read() operations may be required to receive all expected data (to construct the complete message, concatenate the data returned by each Read operation)
Nick B (Admin)

From: Utica, NY USA
Posts: 567
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted March 1, 2017 3:12 PM

Hello,

The ReadTo* methods are typically the best way to receive all data, as most TCP-based protocols implement either length-prefixing, message termination with a delimiter, or send all data and disconnect. Without those methodologies, you can only assume to have received all data by implementing a timeout system (which is typically not recommended).

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

delpiero

From: USA
Posts: 3
Member Since: 03/01/17
posted March 1, 2017 3:50 PM

Hi, I'm using sockets for .net to stay connected to http with keep-alive and doing a GET every 2 seconds. Yes and sometimes the response is too big. what would you recommend?
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted March 1, 2017 4:53 PM

Thank you for your reply. An response has been sent to you via email.

Regards,
Jamie
delpiero

From: USA
Posts: 3
Member Since: 03/01/17
posted March 1, 2017 5:04 PM

not really a response more like a request to buy a subscription...i guess after buying a $349 license and ask first question to get slapped with a subscription..
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted March 2, 2017 5:17 PM

Standard Support, which is currently included with the purchase of any Developer License, provides assistance with samples, licensing, and how-to's, specific to your Dart product(s). Subscription Support is required for questions regarding a specific project, as well as general project guidance.

I hope this helps explain our support process in a bit more detail. Please feel free to contact me directly with any questions regarding our support policies.

Regards,
Jamie
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX