5

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.

Rohit Banga
  • 16,996
  • 26
  • 101
  • 179

2 Answers2

10

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.

Greg Hewgill
  • 828,234
  • 170
  • 1,097
  • 1,237
3

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.

jldupont
  • 82,560
  • 49
  • 190
  • 305
  • That's just the Google Talk web client, not the protocol. – Zarel Nov 18 '09 at 11:47
  • ... but of course... that was the question, wasn't it? The question can't be about XMPP because one can "google" for an answer, right ;-) – jldupont Nov 18 '09 at 12:51