What you’ll learn
UDP socket programming in C# .Net, synchronous and aynchronous
Foundations of distributed chat/IoT applications, communication components of multiplayer games, VoIP applications in C# .Net
Using Newtonsoft JSON in client server socket based applications
This course teaches C# .Net socket programming with UDP sockets in a hands on and easy fashion. It is a carefully planned and crafted online course which takes the student by the hand and teaches them how to create production quality distributed network applications using C# .Net step by step.
The first sections of this course cover the basics of computer networking, and UDP socket programming in CSharp dot Net necessary for network and socket programming.
Next two sections will teach how to send and receive UDP broadcast in a command prompt C# .Net application using synchronous sockets with method calls such as Socket.Send and Socket.Receive. You will also learn how to convert between string and byte data types.
Once you’re familiar with how distributed network applications function, the course takes you towards asynchronous socket programming. You will also learn about callbacks methods and how you can implement callbacks in C# .Net. I will also show you the publisher subscriber model AKA pub/sub model. We will implement pub/sub model in our library project and the client/server applications using the library as well. We’ll create event handlers, delegates, and raise events as well.
We are going to use an Object Oriented approach for this course following the principles of OOP. In next section we’re going to implement a publisher/subscriber model in C# .Net to bridge the gap between the API solution classes and the WinForms based front end.
In the next section, you’ll learn how to transmit binary data over a UDP socket in C# .Net. As an example, I’m going to show you how to transfer png image files between multiple clients of your applications through the server. The JSON based protocol implemented in previous section is going to play a key role here.
After watching this C sharp tutorial course, you’ll be able to write your own distributed applications that communicate through the network, either WiFi or Ethernet. You will have the foundation knowledge needed to create C# .Net based applications for IoT, computer telephony, VoIP, online gaming(e.g. Unity), and much more.
This course also shows you how to use String Interpolation which is a C# 6 feature. You’ll also learn how to debug network applications in Visual Studio and how to write code faster.
You don’t need to learn C to work on this course.
Socket Java, python socket udp
Who this course is for:
- Beginner/intermediate C# .Net developers working to complete a socket programming & network communications project
- University students learning distributed application programming
- Essential Networking Theory
- Introduction to UDP Socket Programming in C# .Net
- Handling Byte Data and Working with Remote Endpoints.
- Asynchronous UDP Socket Programming in C# .Net
- Async UDP Socket Programming in C# .Net Part 2
- How to Raise and Handle Events in C# .Net
- Using JSON in network communication with C# .Net
- Sending and Receiving Images In Chat Application