Asynchronous Socket Programming in C#
Objective The objective of this article is to demonstrate a socket-based client/server application that will allow two-way asynchronous communication between a server and multiple client applications. Because this example uses asynchronous methods, the server application does not use threads to communicate to multiple clients (although internally the asynchronous communication mechanism uses threads at the OS level). The Difference Between Synchronous and Asynchronous Communication in Network Programming The key difference between synchronous and asynchronous communication can be explained with an example. Consider a server application that is listening on a specific port to get data from clients. In synchronous receiving, while the server is waiting to receive data from a client, if the stream is empty the main thread will block until the request for data is satisfied. Hence, the server cannot do anything else until it receives data from the client. If another clien
Comments
Pretty post, its helps many reader who searching this vital information.
Thanks,
Web design training in Chennai
Online CSharp
Training
C Sharp Training
Online C# Training from India
C Sharp Training in Chennai
C# Training
web designing training in chennai
Best Sharepoint Training institute in chennai
.
Article submission sites
Technology