简体   繁体   English

WCF 3.5和UDP

[英]WCF 3.5 and UDP

Is it possible to make udp binding in wcf 3.5 or it's only possible in .net 4.0 ? 是否有可能在wcf 3.5中进行udp绑定,或者它只能在.net 4.0中进行?

If it's possible in .net 3.5 could somebody give me an example please ? 如果有可能在.net 3.5中有人能给我一个例子吗?

thanks 谢谢

If you're willing to implement your own Binding, you can try walking through this Blog Tutorial on creating a Custom UDP Binding for WCF: 如果您愿意实现自己的Binding,可以尝试浏览一下为WCF创建自定义UDP绑定的博客教程:

Waleed Mohamed: How to Implement UDP as a custom WCF Transport Waleed Mohamed:如何将UDP实现为自定义WCF传输

It is not available as out of the box binding but some implementation of UDP transport is offered in official transport extensibility samples . 它不是开箱即用的绑定,但官方传输扩展性样本中提供了UDP传输的一些实现。 This custom transport can be then used in custom binding. 然后可以在自定义绑定中使用此自定义传输。

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

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