class EventMachine::Synchrony::TCPSocket
def read_data
def read_data data = try_read_data unless data == :block @read_bytes = 0 # read(n,buffer) returns the buffer when it does not return nil or raise an exception data = @read_dest.replace(data) if @read_dest and not data.nil? @read_dest = nil end data end