Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个应用程序,它将每 10 秒或每行驶 20 米发送一次设备的位置。服务器将回复说更新的状态以及是否有新消息。
最好的方法是为每次更新进行 HTTP 连接或保持套接字连接处于活动状态并通过它发送更新?
提前致谢。