[Client] Connecting sockets
Connecting sockets in a different function