What is the difference between using system.net and system.net.sockets?

Answer Posted / narendra

System.Net:The System.Net namespace provides a simple programming interface for many of the protocols used on networks today. The WebRequest and WebResponse classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop applications that use Internet resources without worrying about the specific details of the individual protocols.Classes in the System.Net namespace can be used to develop Windows Store apps or desktop apps. When used in a Windows Store app, classes in the System.Net namespace are affected by network isolation feature, part of the application security model used by the Windows Developer Preview. The appropriate network capabilities must be enabled in the app manifest for a Windows Store app for the system to allow network access by a Windows Store app. For more information, see the Network Isolation for Windows Store Apps.

System.Net.Socket:The System.Net.Sockets namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain unit test done by tester on development team?

520


What are child actions in ASP.Net MVC?

574


What is the difference between tempdata and viewbag?

489


What is entity framework used for?

513


Is mvc 4 supporting windows azure sdk (software development kit) ?

552






List the new features added in .net framework 4.0.

513


What are Validation Annotations?

567


What operating systems will the .net framework 3.0 be available for?

564


What is namespace of asp.net mvc?

593


When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

547


What is storage model? : Entity framework

546


what is msl?

619


Explain what is asp.net mvc?

646


differences between poco, model first and data first approach?

587


What is .net architecture?

535