NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

TCP message frame example

Open devtest2k18 opened this issue 6 years ago • 6 comments

I need an example of TCP message frame example

devtest2k18 avatar Dec 23 '19 03:12 devtest2k18

image how to split message

devtest2k18 avatar Dec 23 '19 05:12 devtest2k18

NetCoreServer provides a streaming interface for TCP/SSL clients & sessions. If you want to have a message based interface you have to send message size into the stream, then message body in your serialization and send phase. Deserialization will read message size and than wait and read for remaining message body.

chronoxor avatar Dec 23 '19 07:12 chronoxor

it's slower websocket TCP Test.zip

devtest2k18 avatar Dec 25 '19 02:12 devtest2k18

@chronoxor

devtest2k18 avatar Dec 25 '19 08:12 devtest2k18

@chronoxor Could you get examples for using streaming interface for TCP/SSL clients & sessions?

shersh avatar Aug 11 '21 09:08 shersh

it's slower websocket TCP Test.zip

ZIP files are totally useless.. Please post code instead

f135ta avatar Mar 29 '22 19:03 f135ta