.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

What is the difference between Remoting and Sockets?

Posted By: Dhilip.R     Posted Date: May 20, 2011    Points:5   Category :C#
Hi,Experts

Can anybody explain what are the differences between Remoting and Sockets. And give some advantages and disadvantages for Remoting and Sockets.

Thanks & Regards
Dhilip.R

Responses
Author: Amit Mehra          Accepted Answer   
Posted Date: May 20, 2011     Points: 40   

Hi,

.Net remoting uses TCP IP protocol and is best opted when clients is on .Net platform
.NET Remoting is built on Socket programming.

Sockets are lower level; you might get slightly better performance, but at the cost of lot of manual implementation.
Remoting is a higher layer on Sockets and provides lot of functionality like serialization, etc. out of box.
Remoting is getting Obsolete with WCF Services.

Reference

http://social.msdn.microsoft.com/Forums/en/architecturegeneral/thread/c4a62b24-9af5-485d-b44b-4b23ff61fb9b

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend