Тёмный

Ep.11: Client Networking (TCP / UDP) - Network Chat Programming 

The Cherno
Подписаться 658 тыс.
Просмотров 21 тыс.
50% 1

Github Repo for this video: bit.ly/198xZt9
-------------------------------------------------------------------------------------------------
In this video:
- What TCP and UDP are and how they work
- How to set up a UDP client connection in Java
- How to use Datagram and DatagramSocket in Java
- How to use InetAddress
-------------------------------------------------------------------------------------------------
Website: www.thecherno.com
Twitter: / thecherno
Facebook: / thecherno
Subreddit: / thecherno
Steam Group: www.steamcommun...
-------------------------------------------------------------------------------------------------
Outro music is by Approaching Nirvana: / approachingnirvana

Хобби

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@zeragon7
@zeragon7 2 года назад
After learning a lot from the C++ series, I have come to this old series to learn some Java, as well as learn network programming a bit. As a 1989 baby, I used instant messaging applications a lot when I was a kid (AIM, MSN Messenger, etc...) and ever since the idea that you could program computers yourself was introduced to my noggin, it was always a secret dream of mine to make my own instant messaging application for desktop (fuck mobile. I miss the old internet and old computing of the early 2000s). Anyway, this has been super fun and educational and I just wanted to express my extreme gratitude to "The Cherno". Yan, I can't begin to thank you enough for all of this free education. You are an amazing human being and I'm also a tiny bit wine drunk right now so I apologize if this message is hard to follow or awkward in any way :)
@SamBrev
@SamBrev 11 лет назад
finally getting to the meat and potatoes of this series! lovin it! thanx as ever!
@yourlocalfaxmachine9934
@yourlocalfaxmachine9934 11 лет назад
I would still love to see tutorials from you on TCP connections just because I actually want to make other networked programms that would work better with it.
@JamesConnolly1994
@JamesConnolly1994 10 лет назад
Would love a TCP version at some point, it sounds much more useful and reliable (in a non gaming context)
@joshy2205
@joshy2205 11 лет назад
He went to print the error and RU-vid crashed and now won't skip ahead in the video, ah well it's so good I'll watch half of it again, awesome :D
@Jonathanloov
@Jonathanloov 11 лет назад
Remember to leave a like, everybody!
@flightoffearfan
@flightoffearfan 2 года назад
"Does has" My favorite Cherno quote lol
@footballerrm7731
@footballerrm7731 11 лет назад
What's next Game Programming im really interested in astar pathfinding and adding lightemitters, and just an extra could you make a topic on reddit or a video about 4 directional movement
@dunghn907
@dunghn907 4 года назад
You need to be duplicated! =))) It's very helpfull! Many thanks from Vietnam!
@kieran1467
@kieran1467 11 лет назад
It's the internet man, it's mostly free to everyone....
@SamBrev
@SamBrev 11 лет назад
i think it would be better if you created your own exception and threw that if connection failed, instead of returning a boolean.
@OfficialPirateFraser
@OfficialPirateFraser 11 лет назад
thanks for making videos cherno your awesome
@MrTpsGamer
@MrTpsGamer 11 лет назад
thanks, good to know i didnt do this!
@DaBBoSaH
@DaBBoSaH 10 лет назад
where r u from? you've accent is really nice :D
@EDToasty
@EDToasty 10 лет назад
Australia!
@SammySamkough
@SammySamkough 11 лет назад
TheCherno, if you don't mind (this will really help me by the way), where did you learn programming and networking from? You can message me it, comment me it, it's your choice.
@MrTpsGamer
@MrTpsGamer 11 лет назад
TheChernoProject i was making a 3d game with eclipse following your instructions my computer broke, it had something to do with the graphics card but is there anything i might have done wrong? like not make the game close properly and messing it up. im not blaming you, just a quick question
@kieran1467
@kieran1467 11 лет назад
Yay :D
@jooncoders9316
@jooncoders9316 10 лет назад
why did you not just use a BorderLayout instead of all that shit with a grid layout
@EDToasty
@EDToasty 10 лет назад
Because he wanted to.
@FatherlyFox
@FatherlyFox 11 лет назад
I actually find UDP very unreliable, and this is why I will have to battle my way at making a server connection side for my game because I don't use data sending that much except for C#
@TheCherno
@TheCherno 11 лет назад
There's nothing you could have done in basic non-native Java that could have affected your hardware. :)
@VizXRyRy
@VizXRyRy 11 лет назад
I love your vids, but I'm sick of hearing you say you will make an "in-depth" episode or you will "put out 3 episodes per day" when you don't. Don't say it if you're not going to do it. Just saying.
@kristupasantanavicius9093
@kristupasantanavicius9093 11 лет назад
You can't break your computer by programming in Java. Not your fault. UNless you directly program GPU, than you could break it I think.
Далее
Ep.12: Receiving Packets - Network Chat Programming
11:34
WHY did this C++ code FAIL?
38:10
Просмотров 258 тыс.
Семья с двойным дном. Рассказ
2:45:06
How to Build a Homemade Bike Using a Barrel
00:21
Просмотров 1,2 млн
TCP Fundamentals Part 1 // TCP/IP Explained with Wireshark
1:17:24
How TOR Works- Computerphile
14:19
Просмотров 1,7 млн
Why I Don't Like Singletons
29:05
Просмотров 63 тыс.
UDP and TCP: Comparison of Transport Protocols
11:35
Просмотров 1,2 млн
How To Think Like A Programmer
1:00:07
Просмотров 2 млн
Harder Than It Seems? 5 Minute Timer in C++
20:10
Просмотров 170 тыс.
Ep. 17: Multiple Clients - Network Chat Programming
17:18
ЕСЛИ НЕ ХОЧУ НА ТРЕНИРОВКУ
0:20
Просмотров 774 тыс.
8 сентября 2024 г.
0:29
Просмотров 4 млн
😂
0:35
Просмотров 6 млн