simple receive function, getClientBySocket()