setting up new socket communication