Using the Berkeley Socket API in the C Programming Language

preview_player
Показать описание
An introduction to programming the Berkeley Socket API in C, including a simple server and client example. This includes:

Overview of system calls used for a server and a client.
socket()
bind()
getaddrinfo()
listen()
accept()
sockaddr_storage to sockaddr cast example
getnameinfo()
send()
shutdown()
Using the telnet application for testing.
connect()
recv()
Looping through multiple recv calls to get all the data.

Book recommendation: "Hands-on Network Programming with C" by Lewis Van Winkle.

More advanced topics which are _not_ included in this video:
Listening or attempting simultaneous IPv4 and IPv6 connections
select()
Looping through and accepting multiple inbound connections
Switching between "doing work on the server/client" and "waiting for data"
Рекомендации по теме
Комментарии
Автор

Your video was very helpful! Thank you so much!

MelissaMeantIt