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