# File test/sockutils.rb, line 7 def setsockopt(socket) socket.sync = true socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) if (socket.kind_of? TCPSocket) nil end