- Added the connection process for the sockets