|
|
|
|
|
by kazinator
573 days ago
|
|
You don't need the Ex thing with socket addresses because they have a run-time type field: sa_family. A function that takes a sockaddr * can dereference it to get at that field, and then know exactly which address type it's dealing with. |
|