zx::socket
Summary
Inheritance
Inherits from:
zx::object< socket >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_SOCKET
|
constexpr zx_obj_type_t
|
Public functions
|
operator=(socket && other)
|
|
read(uint32_t options, void *buffer, size_t len, size_t *actual)
|
zx_status_t
|
set_disposition(uint32_t disposition, uint32_t disposition_peer)
|
zx_status_t
|
write(uint32_t options, const void *buffer, size_t len, size_t *actual)
|
zx_status_t
|
Public static functions
|
create(uint32_t options, socket *endpoint0, socket *endpoint1)
|
zx_status_t
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_SOCKET
Public functions
read
zx_status_t read(
uint32_t options,
void *buffer,
size_t len,
size_t *actual
)
set_disposition
zx_status_t set_disposition(
uint32_t disposition,
uint32_t disposition_peer
)
socket
constexpr socket()=default
socket
socket(
zx_handle_t value
)
socket
socket(
socket && other
)
write
zx_status_t write(
uint32_t options,
const void *buffer,
size_t len,
size_t *actual
)
Public static functions
create
zx_status_t create(
uint32_t options,
socket *endpoint0,
socket *endpoint1
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]