c sockets backup