does google talk use udp or tcp packets?

做~自己de王妃 提交于 2019-12-10 14:24:32

问题


is it possible to determine whether google talk uses tcp or udp packets for transmission. i know it uses the xmpp protocol at the application layer, but does it run over tcp or udp.


回答1:


You can infer what the answer is: Google Talk works in a browser without requiring a plugin. The only protocol supported through the communication mechanism XMLHttpRequest is TCP/HTTP.

If you are interested in XMPP, have a look here.

...wherein a client utilizing XMPP accesses a server over a [TCP] connection, and servers also communicate with each other over TCP connections.




回答2:


You can answer this yourself by using a packet sniffer to watch the traffic. This will be much more instructive than having us tell you the answer.



来源:https://stackoverflow.com/questions/1629582/does-google-talk-use-udp-or-tcp-packets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!