35 pts.
 Programming in C# the communication between client and server: How to do it?
In one of my exams i have to do a program that communicates with client  using C#. NET TCP. So i ask for help from anyone. 

Software/Hardware used:
Software
ASKED: November 26, 2010  9:53 AM
UPDATED: February 2, 2012  11:44 AM

Answer Wiki:
You would need to use sockets. "<i>In computer networking, an Internet socket or network socket is an endpoint of a bidirectional inter-process communication flow across an Internet Protocol-based computer network, such as the Internet</i>." Read more about sockets on SearchCIO-Midmarket. In summary, the server application opens a socket and puts it in 'listening' state. Then the client application connects to the server's listening socket, and after that they can start exchanging messages. Here's an article that should get you started: And a couple example applications (client and server) can be downloaded from here: Feel free to post any doubts you encounter.
Last Wiki Answer Submitted:  June 11, 2013  4:32 pm  by  Michael Tidmarsh   14,000 pts.
All Answer Wiki Contributors:  Michael Tidmarsh   14,000 pts. , carlosdl   63,580 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You will need to add threading capabilities if you want more than one connection from multiple clients to the server.

 25 pts.