Start of socket communication