C# Bi-Directional Client-Server Part 4 of 5 - Coding the Client

Опубликовано: 14 Октябрь 2024
на канале: Pulp Free Press
1,016
10

In part 4 of this series, I show you how to code a Windows Forms client application using Visual Studio 2017. The client will connect to a server given a valid IP address and port. It's bi-directional meaning it can both send commands to an receive commands from the server. Most importantly, I explain how to access GUI components running on the main thread from background threads without crashing the program by using a utility class that implements the ISynchronizeInvoke interface. The series consists of 5 videos:
Part 1 - Designing the Server UI
Part 2 - Coding the Server
Part 3 - Designing the Client UI
Part 4 - Coding the Client
Part 5 - Testing the Server and Client

GitHub Repository: https://github.com/pulpfreepress/