Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Lets say I have a small c# windows form application in 2 computers connected to a router. In one computer i want to type a message and when i press enter i want to show up in the other computer. How can i do that?
Posted

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Nov-12 17:58pm    
Good link, a 5. And I, in contrast, provided some overviews, please see my answer.
--SA
ridoy 3-Nov-12 7:06am    
+5
There are too many ways of doing this. Besides, it's pretty much apparent that what you describe could not be the final functionality, so, your design will depend on your more advanced plans. You can choose from raw sockets to TpcListener/TcpClient to classical remoting or WCF (especially self-hosted).

I provided my short (and incomplete) overview of some major levels of .NET networking in my past answers:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900