Skip to main content

Timeline for Using UDP vs Websockets

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Jul 3, 2019 at 14:36 comment added Nadim Ahmed @Philipp is it compatible with Android phones?
Jul 3, 2019 at 14:33 comment added Philipp You mean System.Net.Sockets.UDPClient? Keep in mind that this won't work on every build target.
Jul 3, 2019 at 14:26 comment added Nadim Ahmed @Philipp I have been using UDP client class
Jul 3, 2019 at 14:25 comment added Philipp Unity doesn't give you direct access to UDP either.
Jul 3, 2019 at 14:23 comment added Nadim Ahmed @Philipp I guess I will stick with UDP then since I don't need reliability and don't want to waste time on tcp acknowledges.
Jul 3, 2019 at 14:22 comment added Philipp The problem is that Unity doesn't give you direct access to Websockets. It wraps messages in its own protocol on top of the WebSocket protocol (it acutally gives you multiple protocols to choose from). You would have to implement one of those protocols yourself. Unfortunately the whole world of Unity Networking is currently in a state of flux. The old API is deprecated, but there is no replacement yet.
Jul 3, 2019 at 14:01 comment added Nadim Ahmed @Philipp I don't know what that is. My board supports basic Websockets and so does unity.
Jul 3, 2019 at 13:50 comment added Philipp Do you already have an implementation of the Unity LLAPI network protocol which runs on that microcontroller or will you have to program that from scratch?
Jul 3, 2019 at 8:08 comment added Nadim Ahmed @Philipp the game is the client and the microcontroller is the server.
Jul 3, 2019 at 8:07 comment added Philipp To clarify: Does the game act as a server or as a client towards the microcontroller?
Jul 3, 2019 at 0:40 review First posts
Jul 5, 2019 at 16:08
Jul 3, 2019 at 0:35 history asked Nadim Ahmed CC BY-SA 4.0