Visit LEDU token page

Best Practices for Creating Game Server and Client

Best Practices for Creating Game Server and Client

  • English
  • Programming
  • C#C#
  • (1459)
  • Project length: 3h 17m

Do you want to get into networking, and want to create your very own game server? Then this video series is exactly what you want to watch! If you ever wanted to create your very own MMORPG or Online game and you don't know how to start and you are still a beginner in game development you are at the correct place. In this 5 Part series we will create an TCP Game Server and Game Client. You will also learn the very basics of TCP networking and Sockets.

Overview

Introduction

Do you want to get into networking, and want to create your very own game server? Then this video series is exactly what you want to watch! If you ever wanted to create your very own MMORPG or Online game and you don't know how to start and you are still a beginner in game development you are at the correct place. In this 5 part series, we will create a TCP Game Server and Game Client. You will also learn the very basics of TCP networking and Sockets. What Can I Do With This? After you have completed this course you will be able to understand the inner workings of an online game. You will be able to create your own game server to implement it everywhere you want. You will be able to create your very own online game, or online application for windows, android or even console games! Contact Me: https://www.facebook.com/UnityKaymak/ Support Me: https://www.patreon.com/user?u=8061354

What are the requirements?

  • Windows PC or Mac OS X.
  • Atleast .NET Framework 3.5 installed.
  • Visual Studio, Visual C# or any other C# IDE/Compiler

Project Outline

Session 1: Creating a TCP Server

  • Introduction
  • Creating a new Project
  • Information about IP-Protocolls
  • Creating a TCPListener
  • Setting up the TCPListener
  • Start the server

Session 2: Creating a TCP Client

  • Accept incoming connections
  • Adding a new Project
  • Creating a TCPClient
  • Setting up the TCPClient
  • Creating a NetworkStream
  • Connecting to the server

Session 3: Multiple client connection

  • Creating a "Client" Class
  • Setting up the Client Class
  • Making every Client unique
  • Adding a incoming connection to array
  • Allow max. connections.
  • Connect with multiple clients to the server

Session 4: Creating a Packet Buffer

  • Adding a new .DLL project
  • Setting up the Custom Buffer Class
  • Writing data into a byte
  • Reading data from a byte
  • Creating .DLL File
  • Adding file to server and client project

Session 5: Sending Network Messages

  • Creating custom server and client packages identifier
  • Creating our first network message
  • Handle network data
  • Prevent packet loss
  • Sending data from server to client and backwards
  • Receiving data from server on client and backwards
  • Execute Methods on client from server
  • Closing the project

Reviews

Average rating

5(1459 Reviews)