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

Methods

::new ::start

class Kgio::TCPSocket

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

Public Class Methods

Kgio::TCPSocket.new('127.0.0.1', 80) -> socket source

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

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

Unlike the TCPSocket.new in Ruby, this does NOT perform DNS lookups (which is subject to a different set of timeouts and best handled elsewhere).

Kgio::TCPSocket.start('127.0.0.1', 80) -> socket source

Creates a new Kgio::TCPSocket 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.

Unlike the TCPSocket.new in Ruby, this does NOT perform DNS lookups (which is subject to a different set of timeouts and best handled elsewhere).

Parent: cTCPSocket

Included modules: mSocketMethods
Pages Classes Methods


mail archives: https://yhbt.net/kgio-public/
	http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/kgio-public/ 
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.kgio 
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.kgio 
	 
public: kgio-public@yhbt.net
source code: git clone https://yhbt.net/kgio.git
	torsocks git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/kgio.git