This is a TCP server-client application built with C# and WPF using the MVVM design pattern. The application allows the user to send a random number to the server, which can turn on or off a light on the client side. The server-client communication is done using the TCP/IP protocol.
Connect to a server and retrieve the current state of the light and text in the application. Send a random number to the server. Turn on or off the light on the client side. View the current state of the light and text in the application.
Clone the repository to your local machine.
git clone https://github.com/goktugfevzi/WPF-Server-Client.git
-
Open the solution file in Visual Studio.
-
Build the solution to ensure that all dependencies are installed.
-
Use the "Random" button to send a random number to the server.
-
Use the "On/Off" button to turn on or off the light on the client side.
-
The current state of the light and text in the application can be viewed in the client window.
-
Once connected, the client will retrieve the current state of the light and text in the application.
C#
WPF
MVVM
TCP/IP Protocol
Thanks My Mom