add socket_test.c