'Send an EOF (End of File) for a channel.
@type channel:  subclass of L{SSHChannel}'

def sendEOF(self, channel):

    if channel.localClosed:
        return
    log.msg('sending    eof')
    self.transport.sendPacket(MSG_CHANNEL_EOF, struct.pack('>L', self.channelsToRemoteChannel[channel]))
