Create createSocket

Create a socket in bash.