4
Lately I’ve been wanting to program a network sockets in C++ but as the matters on the internet about it are a little limited coming to show only how to program the sockets without explaining in more detail the use of each function I ended up getting lost a little and one of the things that left me in doubt was the use of the structure "sockaddr_in". Therefore, what is and what is the sockaddr_in structure for?
"This in particular is the structure used with Ipv4 addresses..." - What would be the structure to work with IPV6?
– user83187
@Khyser The structure to Ipv6 is the
struct sockadd_in6
– gfleck