Abrar Ahmed
Abrar Ahmed

Reputation: 51

Does NetEase's Pomelo use Udp or Tcp?

I recently decided to make a multiplayer FPS game using Nodejs (server) and Unity3D (client). I already did a POC with socket.io and deployed it on heroku for testing which failed miserably ( the packet delivery was too slow which created lag). After digging around I found out that socket.io uses TCP which is not ideal for a face paced FPS game. Then I came across Pomelo and it seemed interesting.

But before I spend time on its POC, I need to know. Does Pomelo only use TCP or does it also support UDP?

Thanks :)

Upvotes: 1

Views: 781

Answers (2)

alonegame
alonegame

Reputation: 87

NetEase's Pomelo Don't support Tcp

Upvotes: 0

Chatto
Chatto

Reputation: 21

For an FPS you will probably want to use UDP. I found this for Unity: http://forum.unity3d.com/threads/open-source-udpkit-a-networking-library-for-net-mono-unity.215161/

As far as TCP goes, I think TCP is more generally used protocol for more data-centric requests, like chat or things that require packet integrity(UDP tolerates packet loss to lower latency).

Upvotes: 1

Related Questions