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 is the use of JIT

1 Answers  


When was the first version of .NET released

1 Answers  


Which is the root namespace for fundamental types in .net framework?

0 Answers  


What is NonActionAttribute ?

0 Answers   Cognizant,


What is basic authentication in web api?

0 Answers  






What is the difference between viewbag and viewdata in mvc?

0 Answers  


im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me

2 Answers  


What is filters in web api?

0 Answers  


If we not suppress finalize method in dispose what will happen?

2 Answers   Kanbay,


What is the difference between partial and renderpartial?

0 Answers  


List the new features added in .net framework 4.0.

0 Answers  


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

0 Answers  


Categories