socket.c
socket.c finished