简体   繁体   English

.net 3.5消息框架

[英].net 3.5 message framing

We have message framing working by using a lengh prefix but using .NET 2.0 beginSend/BeginReceive. 我们使用长前缀但使用.NET 2.0 beginSend / BeginReceive来进行消息成帧。

Is message framing any different in 3.5, if so how should we implement it using the new framework? 消息框架在3.5中是否有任何不同,如果是的话,我们应该如何使用新框架来实现它?

Are there any useable examples out there which focus purely on message framing using 3.5? 有没有一些有用的示例,这些示例仅专注于使用3.5的消息框架?

Many thanks 非常感谢

Message framing is an attribute of your application protocol. 消息框架是应用程序协议的属性。 It doesn't have anything to do with the .NET version you're running on. 它与您所运行的.NET版本没有任何关系。

I have an example of message framing on my blog , which works for any stream of data in any .NET framework version. 我的博客上有一个消息框架示例,该框架适用于任何.NET Framework版本中的任何数据流。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM