TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.8k stars 2.08k forks source link

How do I write a tars UDP service? #683

Closed TARS-Question closed 4 years ago

TARS-Answer commented 4 years ago

As with normal services, the address should start with udp when binding.

TARS-Answer commented 4 years ago

和普通服务一样的,绑定的时候地址用udp开头应该就行了。