Skip to content

SocketResultOk

[Source]

The socket operation completed. For send/writev, the runtime accepted some bytes; for recv, bytes were read into the supplied buffer. The accompanying count is the number of bytes handled. The operation is synchronous and non-blocking on every platform (the Windows backend uses readiness notifications, not overlapped IOCP), so the count is always the bytes transferred by this call.

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