Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does google talk use udp or tcp packets?

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.

like image 873
Rohit Banga Avatar asked Oct 27 '09 09:10

Rohit Banga


2 Answers

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.

like image 65
Greg Hewgill Avatar answered Oct 04 '22 15:10

Greg Hewgill


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.

like image 29
jldupont Avatar answered Oct 04 '22 17:10

jldupont