Переглядів 2,856
E.T. Tour 003
Quick demonstration on writing a simple network socket server in C on Linux. Uses getaddrinfo() and is IPv4- and IPv6-compatible. It also sets SO_REUSEADDR so that the same port can be reused.
Source code:
github.com/EndianTribe/Networ...
Video on the client program (helpful in understanding this video):
• Network Socket in C (C...