HACKING ISSUES LICENSE NEWS README
Kgio DefaultWaiters File Pipe PipeMethods Socket SocketMethods TCPServer TCPSocket UNIXServer UNIXSocket

Methods

#kgio_autopush= #kgio_autopush?

module Kgio::SocketMethods

Attributes

kgio_addr [RW]

Returns the client IP address of the socket as a string (e.g. "127.0.0.1" or "::1"). This is always the value of the Kgio::LOCALHOST constant for UNIX domain sockets.

Public Instance Methods

io.kgio_autopush = true
io.kgio_autopush = false source

Enables or disables autopush on any given Kgio::SocketMethods-capable IO object. This does NOT enable or disable TCP_NOPUSH/TCP_CORK right away, that must be done with IO.setsockopt

Only available on systems with TCP_CORK (Linux) or TCP_NOPUSH (FreeBSD, and maybe other *BSDs).

io.kgio_autopush?  -> true or false source

Returns the current autopush state of the Kgio::SocketMethods-enabled socket.

Only available on systems with TCP_CORK (Linux) or TCP_NOPUSH (FreeBSD, and maybe other *BSDs).

Included modules: Kgio::DefaultWaiters
Pages Classes Methods


mail archives: https://bogomips.org/kgio-public/
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.kgio 
	nntp://news.gmane.org/gmane.comp.lang.ruby.kgio.general 
public: kgio-public@bogomips.org / private: kgio@bogomips.org