Skip to content

SocketResultOk

[Source]

The socket operation completed. For send/writev, the runtime accepted some bytes (POSIX) or queued some buffers (Windows IOCP); for recv, bytes were read into the supplied buffer. The accompanying count is the number of bytes or buffers handled. On Windows IOCP recv, the count is always 0 — the actual byte count arrives asynchronously via the read-completion callback.

primitive val SocketResultOk

Constructors

create

[Source]

new val create()
: SocketResultOk val^

Returns


Public Functions

apply

[Source]

fun box apply()
: U8 val

Returns


eq

[Source]

fun box eq(
  that: SocketResultOk val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SocketResultOk val)
: Bool val

Parameters

Returns