3 ms·
Sockets are mostly implemented outside of userspace. It's actually very easy to make a TCP socket in C: https://stackoverflow.com/questions/204169/how-to-create
by maxyme 9y ago
Sockets are mostly implemented outside of userspace. It's actually very easy to make a TCP socket in C: https://stackoverflow.com/questions/204169/how-to-create-a-tcp-socket-connect-using-c-to-a-predefined-port https://stackoverflow.com/questions/204169/how-to-create-a-t...
UDP is pretty similar but you have to change the code to be connectionless.