first commit
sock.c
thread.h