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



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

Answer / 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

More Dot Net Framework Interview Questions

What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

0 Answers   NA,


Where do the reference-type variables go in the RAM ?

1 Answers  


WHICH IS THE BEST INSTITUTE FOR DOTNET REAL TIME PROJECT TRAINING

21 Answers   ABC, Cap Gemini, Comspark,


i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources

0 Answers  


The order of the filters that get executed, if the multiple filters are implemented?

0 Answers  






Can I uninstall microsoft .net framework?

0 Answers  


what is model first approach?

0 Answers   Microsoft,


What is MSIL, IL, CTS and, CLR

1 Answers  


What is "out" parameter how it is used in methods?

6 Answers   Polaris,


Where are the routing rules defined in an asp.net mvc application?

0 Answers  


What are ajax helpers in mvc?

0 Answers  


Difference between Dispose and Finalize method

1 Answers  


Categories