简体   繁体   English

在unity3d中将UDP消息组播到本地网络吗?

[英]Multicasting UDP message to local network in unity3d?

i am wondering if Unity Network engine supporting multicasting UDP message to local computers? 我想知道Unity Network Engine是否支持将UDP消息multicasting到本地计算机?

how the RPC is implemented in unity? RPC如何统一实现? are they sending the RPC call from the client to the server and the server sending to all the players? 他们是从客户端向服务器发送RPC调用,还是将服务器发送给所有播放器? and if so are the server multicasting? 服务器是否在多播? of he is sending the RPC call to all the players one by one? 他正在将RPC呼叫一个接一个地发送给所有玩家?

I recommend using your own network code if you are planning on any deeper online gaming project. 如果您打算进行任何更深入的在线游戏项目,建议您使用自己的网络代码。 Simple C# (no .NET 4.0 dependencies) just like this fine tutorial here works like charm for me. 简单的C#(无.NET 4.0依赖项) 就像这里的优质教程一样,对我而言就像魅力。

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

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