SocketResultOk¶
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.
Constructors¶
create¶
Returns¶
- SocketResultOk val^
Public Functions¶
apply¶
Returns¶
- U8 val
eq¶
Parameters¶
- that: SocketResultOk val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SocketResultOk val
Returns¶
- Bool val