socket data transmission module