Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is difference between HTTPS and TCP over SSL

I am working on a DotNet client application which will send message to Java server over HTTPS. Prior to this one of my team member has developed a application which uses tcp client with ssl to communicate with server. Kindly help me that if I use his exising code than what are the changes I need to do for Https communication in Dot Net.

like image 527
user1602495 Avatar asked Aug 22 '12 13:08

user1602495


1 Answers

"TCP over SSL" is not what you have -- it's SSL that "runs" over TCP. In HTTPS case you have HTTP over SSL over TCP. HTTP is an application-level protocol here. In case of just "SSL over TCP" you have custom application-level protocol, and with HTTPS you have standard HTTP.

Consequently you can reuse parts of the existing code but you need to replace the custom protocol (whatever it is) with HTTP. If the existing protocol works, there's not much sense in replacing it (unless you know that you need a replacement and you know what for you need it).

like image 61
Eugene Mayevski 'Callback Avatar answered Nov 11 '22 11:11

Eugene Mayevski 'Callback