What are the different metods present in Socket Class?

 Posted by Chvrsri on 12/10/2010 | Category: Networking Interview questions | Views: 3208 | Points: 40

There are 2 different type of methods present in Socket Class they are :

Synchronous Methods and Asynchronous Methods

In .Net Naming conventions all the ASynchronous Methods names are created by prefixing the words 'Begin' or 'End' to the names of Synchronous Methods

That is

Synchronous Methods :

(a) Connect()
(b) Receive()

ASynchronous Methods :

(a) BeginConnect() and EndConnect()
(b) BeginReceive() and EndReceive()

Source: My Own Observation | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response