.NET Remoting - HttpChannel vs TcpChannel -


I am new to .NET remoting and I am not familiar with different communication channels that can be used. I know that outside the box there is HTTP channel and TCP channel. I think there is one HTTP while the other is TCP, but I do not understand why TCP is fast.

TCP is fast, the reason is that it uses binary to transmit data in wire with TCP channel As a medium, you can use any port number above 1024 (the first 1024 ports are reserved). While with HTT channels, this port is using 80, which is the standard port that is shared with your web browser, if you want to make it flexible with other services, then the HTTP channel is used. In addition, the data passed through the HTTP channel is encoded in the text, which makes it slow, for example, if you are to retrieve an image, then that image is first base 64 data format Will be encoded in and will be transferred.

Normally, if you want speed, then you have to go to the TCP channel, if you want flexibility then go to the HTTP channel.

Hope this will be helpful, Best wishes, Tom.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -