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

Methods

::new ::start

class Kgio::UNIXSocket

Kgio::UNIXSocket should be used in place of the plain UNIXSocket when kgio_* methods are needed.

Public Class Methods

Kgio::UNIXSocket.new("/path/to/unix/socket") -> socket source

Creates a new Kgio::UNIXSocket object and initiates a non-blocking connection.

This may block and call any method defined to kgio_wait_writable for the class.

Kgio::UNIXSocket.start("/path/to/unix/socket") -> socket source

Creates a new Kgio::UNIXSocket object and initiates a non-blocking connection. The caller should select/poll on the socket for writability before attempting to write or optimistically attempt a write and handle :wait_writable or Errno::EAGAIN.

Parent: cUNIXSocket

Included modules: mSocketMethods
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