Sending and Receiving Data Using TCP | C# Networking Tutorial - Part 2

preview_player
Показать описание
In this second part of my C# networking tutorial series, we make it possible for our Unity clients and our dedicated server to start sending and receiving data using TCP.

⎯⎯⎯⎯⎯⎯

⎯⎯⎯⎯⎯⎯

Gear & Software I Use

Developing

Recording & Streaming

Computer Parts & Peripherals
⮞ RAM - 8GB x2

Other

I personally use all of the above products and services, so they are genuine recommendations. Some of these links are affiliate links, which means I get paid a small commission (at no extra cost to you) if you sign up or buy through them. Thanks for supporting the channel!

⎯⎯⎯⎯⎯⎯

Building multiplayer games is a complex topic. Since every game has its own specific needs when it comes to networking, any one-size-fits-all options will likely come with a downside. You'll end up making trade-offs between performance, certain features, ease of use, and cost.

So what's the alternative? You can build your own networking solution! That may sound daunting—and it's by no means easy—but by the end of this step by step Unity networking tutorial series, you'll have learned the fundamentals of how to make a multiplayer game in Unity, even if you're completely new to networking! You'll also learn a ton about how not only games, but also how connected software in general use TCP and UDP to communicate. In this Unity multiplayer tutorial series, we'll be building a dedicated game server from scratch, which is essential if you want to prevent cheating.

#UnityTutorial #Multiplayer #Unity3D #Networking #GameDev #Server #Client

⎯⎯⎯⎯⎯⎯

Рекомендации по теме
Комментарии
Автор

*IMPORTANT: these tutorials and the code in them are outdated!*

tomweiland
Автор

Me: looks away for 2 seconds
The code: *200, 000 lines are ready with a million more well on the way.*

AgentX
Автор

Hippity, Hoppity, your codes my property,
This man be like the emenim of dat coding properly.

randomoriginality
Автор

Everybody using plugins and headless versions of their game for networking...

A great way to get started with network programming! I love this!

changuage
Автор

Dude you are awesome and btw at 0.5 speed you sound like Walter White's son in braking bad

deerstudios
Автор

*Check out the next tutorial where we implement support for communication through UDP* 👇

tomweiland
Автор

I was really trying to find a tutorial so I could make my own server with my Unity client :) Thanks a lot! Now I can scale my server the way I want to

fabiomarsiaj
Автор

Amazing tutorial, thank you! And your discord server is nice too, actually helping people instead of making them look stupid for not knowing something.

Trainhead
Автор

Finally found a understandable tutorial for what exactly I wanted! Thank you so much! Keep making this videos!

मेबीराज
Автор

Thank You! This is Amazing.
BTW, this tutorial has better explanation than the last one, thank you for explaining everything so well!

thejurassiklizard
Автор

I just transferred the code from console to unity like in your guide in tutorial 6. I also finished integrating a database to the server and had my FIRST TCP transaction where client trying to access data from the database. It was tricky at first but your tutorial is really good and code is self-documenting so learning was way easier. Thanks for the vids.

syaorananingalan
Автор

I'm only this far into the playlist, and I just gotta say, you're a genius, now I am making mine read .ini files for other people to make their own servers on my game, so mine is getting heavy adjustments on what the server information is, however, I just gotta say again, this playlist tutorial is just the best, here's a sub.

hereticstanlyhalo
Автор

I've searched many times for tutorials just like this one and I never found one that was exactly what I wanted. Thank you sooo much for your effort.

thecargs
Автор

After watching this tutorial so many times in the past and improving my type speed. I can finally watch this video at normal speed without pausing or rewinding.

beastbomber
Автор

Thank you Tom. Been following your content, it is becoming progressively better. Keep it up!

blankcanvas
Автор

This is simply amazing. I have tried atleast 15 other videos and I kept running into errors and didn't understand shit. FINALLY!! A GOOD VIDEO WITH GOOD EXPLANATION AND CODE THAT IS STILL FUNCTIONALL!!! U DESERVE MORE LIKES AND SUBS MY MAN!!!

punyagalundia
Автор

Thank you very much, everything working, I'm trying to create this server with Node.js, I'm a beginner and I'm learning a lot here, the best channel I found, congratulations!!!

nilsonmelloDMO
Автор

These tutorials are unique, Every single multiplayer tutorial, they use some servers online. While this one Makes everything from scratch. I love it dude!


Btw: Legend still says you're replying to comments <3

happycow
Автор

Awasome series, already helped a lot, and since I don't really see it mentioned I think it's best if people new to coding know. The reason the server used 7% cpu, was because the code inside isn't "once it's time update" but "is it time?no. is it time?no. is it time? yes. UPDATE!" that is why the sleep helps, since the code thinks you really wanna check if it's time on repeat.

U_Geek
Автор

This series is helping me a lot. I don't know anything about creating servers. When I see you go through all of this i'm just like how the hell could anyone figure this shit out.

grogurt