Create socket.cpp