Click here to Skip to main content
15,039,149 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I'm Creating an application using Windows Forms, In that i Kept a feature called MESSAGING by using that the application user can communicate with the person who are all in the LAN by using their IP Address. How to Make a communication Over this..?
thanks in advance..
Posted

To Make a communication in your situation you need to do socket programming. Following links will help you to develope the solution.

An Introduction to Socket Programming in .NET using C#
http://csharp.net-informations.com/communications/csharp-socket-programming.htm
   
According to your problem, Socket Programming is the only way.
There are lot many articles in codeproject which will gives you a solution.
   
It can be done on one of several different levels of networking, remoting or WPF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA
   

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