Question: what is the difference between tcp and ssl?
Answer: SSL (Secure Socket Layer) or TLS (Transport Layer Security) works on top of the transport layer, in your examples TCP. TLS can be used for more or less any protocol, HTTPS is just one common instance of it. HTTP is an application layer protocol. ... TCP.