handmade.network » Forums » Handmade Networking Layer
iradicator
3 posts
#14221 Handmade Networking Layer
3 months, 2 weeks ago Edited by on Feb. 8, 2018, 1:09 a.m. Reason: Initial post

Looking for a video series like Handmade Hero focused on building either a network based game or a networking infrastructure / layer. Any recommendations? I really like following along programming (like Casey's Handmade Hero).
mmozeiko
Mārtiņš Možeiko
1668 posts
1 project
#14223 Handmade Networking Layer
3 months, 2 weeks ago

Not a video series, but still a ton of useful blog posts: https://gafferongames.com/
iradicator
3 posts
#14225 Handmade Networking Layer
3 months, 2 weeks ago

Great link, thanks. I'm also interested with hands-on type of demonstration.
mmozeiko
Mārtiņš Možeiko
1668 posts
1 project
#14227 Handmade Networking Layer
3 months, 2 weeks ago Edited by Mārtiņš Možeiko on Feb. 8, 2018, 4:15 a.m.

He had pretty good GDC talk where he showed bunch of stuff needed to achieve the results he talks about.
https://archive.org/details/GDC2015Fiedler
iradicator
3 posts
#14269 Handmade Networking Layer
3 months, 1 week ago

Cool video! I watched it - thanks for the recommendation.
Please let me know if you happen to know about some tutorial / video in which we open the sockets and parse data from scratch.
mmozeiko
Mārtiņš Možeiko
1668 posts
1 project
#14271 Handmade Networking Layer
3 months, 1 week ago Edited by Mārtiņš Možeiko on Feb. 14, 2018, 6:58 a.m.

Parsing data from socket is no different than parsing data from file - its just an array of bytes. You can easily check how to do that from HandmadeHero videos where asset files are processed.

As for opening socket, there's not much to show. Its just a few API functions. Here's an excellent guide for that: http://beej.us/guide/bgnet/
Unless you want to go into high-performance servers, with IOCP's/epolls/etc.. But then it much depends on use case and there is no one good guide/tutorial to show.