Implement a basic socket connection in C (20 lines of manipulating struct sockaddrs and such), then do the same in Python (2 lines).
And then go back and make the C version support IPV6, because your initial implementation didn't.
Implement a basic socket connection in C (20 lines of manipulating struct sockaddrs and such), then do the same in Python (2 lines).
And then go back and make the C version support IPV6, because your initial implementation didn't.