modified:   src/set_sock.c