Crystal::EventLoop::Polling#accept
accept(socket : ::Socket) : Tuple(::Socket::Handle, Bool) | Nil
- Kind
- method
- Module
Crystal::EventLoop::Polling
Source: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
The entries of Crystal::EventLoop::Polling in the Crystal reference. This page has 30 cards.
accept(socket : ::Socket) : Tuple(::Socket::Handle, Bool) | Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
close(file_descriptor : System::FileDescriptor) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
connect(socket : ::Socket, address : ::Socket::Addrinfo | ::Socket::Address, timeout : Time::Span | Nil) : IO::Error | Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
create_timeout_event(fiber : Fiber) : FiberEvent
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
open(path : String, flags : Int32, permissions : File::Permissions, blocking : Bool | Nil) : Tuple(System::FileDescriptor::Handle, Bool) | Errno
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
pipe(read_blocking : Bool | Nil, write_blocking : Bool | Nil) : Tuple(IO::FileDescriptor, IO::FileDescriptor)
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
pread(file_descriptor : System::FileDescriptor, slice : Bytes, offset : Int64) : Int32
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
read(file_descriptor : System::FileDescriptor, slice : Bytes) : Int32
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
receive_from(socket : ::Socket, slice : Bytes) : Tuple(Int32, ::Socket::Address)
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
recvmsg(socket : ::Socket, message : Pointer(LibC::Msghdr), flags : Int32) : Int32 | Errno
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
reopened(file_descriptor : System::FileDescriptor) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
run(blocking : Bool) : Bool
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
send_to(socket : ::Socket, slice : Bytes, address : ::Socket::Address) : Int32
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
sendfile(socket : ::Socket, fd : System::FileDescriptor::Handle, offset : Int64, count : Int64, flags : Int32) : Int64 | Errno
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
sendmsg(socket : ::Socket, message : Pointer(LibC::Msghdr), flags : Int32) : Int32 | Errno
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
shutdown(file_descriptor : System::FileDescriptor) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
sleep(duration : Time::Span) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
socket(family : ::Socket::Family, type : ::Socket::Type, protocol : ::Socket::Protocol, blocking : Bool | Nil) : Tuple(::Socket::Handle, Bool)
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
socketpair(type : ::Socket::Type, protocol : ::Socket::Protocol) : Tuple(Tuple(::Socket::Handle, ::Socket::Handle), Bool)
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
wait_readable(file_descriptor : System::FileDescriptor) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
wait_writable(file_descriptor : System::FileDescriptor) : Nil
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
write(file_descriptor : System::FileDescriptor, slice : Bytes) : Int32
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
default_file_blocking?
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
default_socket_blocking?
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
Crystal::EventLoop::PollingSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.