@classmethod
    def socket_send(cls, packet):
        """
        Send SteamPacket
        
        Args:
            packet: SteamPacket
        Returns:
            bytes_sent: False or 0 means failure.
            err: String
        """
        assert isinstance(packet, SteamPacket), 'packet argument not of object SteamPacket'

        packet.timestamp = time.time()
        try:
            bytes_sent = cls._socket.send(packet.binary_string)
        except __HOLE__ as err:
            return False, err

        cls.outgoing_packets[int(packet.decoded["id"])] = packet
        return bytes_sent, None
dataset/ETHPy150Open f4ble/pyarc/ark/steam/steam_socket_core.py/SteamSocketCore.socket_send