Handmade Network»Forums
3 posts
Handmade Networking Layer
Edited by iradicator on 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).
Mārtiņš Možeiko
2559 posts / 2 projects
Handmade Networking Layer
Not a video series, but still a ton of useful blog posts: https://gafferongames.com/
3 posts
Handmade Networking Layer
Great link, thanks. I'm also interested with hands-on type of demonstration.
Mārtiņš Možeiko
2559 posts / 2 projects
Handmade Networking Layer
Edited by Mārtiņš Možeiko on
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
3 posts
Handmade Networking Layer
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.
Mārtiņš Možeiko
2559 posts / 2 projects
Handmade Networking Layer
Edited by Mārtiņš Možeiko on
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.