Questions about the security of smack client

I am using smack library to develop facebook chat and I have questions for Socks5Proxy.java

  1. Is this server socket created for Facebook’s server to connect?
  2. How does this server socket do handshaking with incoming connection request?
  3. Is the content passed via this server socket encrypted?

Can anyone answer these questions?

Thanks

David Liu

IIRC Socks5Proxy.java is used for Bytestreams (e.g. File-Transfers). I suggest that you disable this feature if you are using smack just for facebook chat.

Flow