Linux serverlinux web serverNETWORK ADMINISTRATIONS

C++ Network Programming Part 1: Sockets

Part 1 on Sockets: https://youtu.be/gntyAFoZp-E
Part 2 on TCP and UDP: https://youtu.be/sXW_sNGvqcU

0:00 Introduction
0:58 Introduction to WinSock
3:06 OSI Model
7:25 Client-Server Architecture
9:20 IP Addresses
13:26 Ports
16:12 Creating a Socket Illustration
23:47 Seven Steps of a Server
24:56 Five Steps of a Client
25:57 Server Step 1 – Load DLL
32:52 Server Step 2 – Create Socket
39:25 Server Step 3 – Bind Socket
47:23 Server Step 4 – Listen
50:54 Server Step 5 – Accept
55:13 Client Step 3 – Connect
1:01:38 Exercise – Setting up the Server
1:09:19 Exercise – Setting up the Client
1:12:41 Exercise – Connecting Client and Server

source

by Nicholas Day

linux web server

20 thoughts on “C++ Network Programming Part 1: Sockets

  • This series is seriously underrated for such a high quality explanation!

  • After 2hours typing all the code in manually, it worked 🙂

  • For anyone wondering, AF_INET is for IPv4 type addresses not TCP or UDP. AF_INET6 is used for IPv6 addresses. Only the type parameter of the socket function is responsible for determining if it will be TCP or UDP.

  • why would you make it white its so bright my developer eyes cant handle this

  • Why don't you just dive right in? Some of us hate "theory" just explain things while you code! Otherwise great video!

  • thank you, could you take another video in c#, I very need it.

  • This series alone is worth more than a bunch of paid Udemy courses. Thank you Nicholas for sharing your knowledge!

  • uhm, i don't know.
    i am a person who don't like long video ;-;

  • Seems interesting. Fortunately I want to implement networking for my games and engine in a short future

  • I assume that this would be similar to network programming with C++ in Linux

  • Hi Mr. Day, I have encountered an error on codeblocks, and I have included all the supporting files u mentioned but compiler says, "InePton was not declared….." Could you please get me through this..

  • Does someone know where I can find the files "stdafx.h" and "targetver.h" ? I found them on Github but my IDE can't find the files afxwin.h, afxext.h, etc. Thanks for helping me…

Comments are closed.