Started to use select to check for data in neighboring sockets