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
  • 18,458
  • 31
  • 113
  • 191

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
  • 951,095
  • 183
  • 1,149
  • 1,285
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
  • 93,734
  • 56
  • 203
  • 318
  • 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