Method: Async::IO::Peer#sync

Defined in:
lib/async/io/peer.rb

#syncObject


71
72
73
74
75
76
77
78
# File 'lib/async/io/peer.rb', line 71

def sync
	case self.protocol
	when IPPROTO_TCP
		self.getsockopt(IPPROTO_TCP, TCP_NODELAY).bool
	else
		true
	end && super
end