Corrections on sockets