Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Socket respecting size boundaries using TCP

$
0
0

Hello,

I'm working with a device that reads data from USB port. Now my customer wants to use this device with an ethernet/USB converter to allow remote access. We can't change device's firmware, so we have to use protocol designed to serial line communication. In this protocol the data length is embedded into the data.

I'm trying to create a Socket that respects size boundaries using TCP. If I send 3 data messages of 30 bytes, I need to send each one separately. Is it possible?

Thanks in advance,

Jon.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>