def send(sock, command, arguments=""):
    sent, total = 0, 0
    msg = command + MESSAGE_SEP + arguments
    msg = str(len(msg)) + MESSAGE_SEP + msg
    length = len(msg)

    msg = encode(msg)
    while total < length:
        msg = msg[sent:]
        sent = sock.send(msg)
        if not sent:
            raise socket.error
        total += sent
Adds a new texture which should be copied from "from_tex" to
dataset/ETHPy150Open enthought/envisage/envisage/plugins/remote_editor/communication/util.py/send--crossover with--dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/stages/update_previous_pipes_stage.py/UpdatePreviousPipesStage.add_transfer