6#if defined(DART_HOST_OS_FUCHSIA)
24static intptr_t
Create(
const RawAddr& addr) {
26 intptr_t
type = SOCK_STREAM | SOCK_CLOEXEC;
34static intptr_t Connect(intptr_t fd,
const RawAddr& addr) {
40 ASSERT(errno != EINPROGRESS);
50 return Connect(
fd, addr);
static sk_sp< Effect > Create()
static void SaveErrorAndClose(intptr_t fd)
static intptr_t GetAddrLength(const RawAddr &addr, bool unnamed_unix_socket=false)
static SocketAddress * GetRemotePeer(intptr_t fd, intptr_t *port)
static intptr_t Available(intptr_t fd)
static void Close(intptr_t fd)
static intptr_t Read(intptr_t fd, void *buffer, intptr_t num_bytes, SocketOpKind sync)
static intptr_t Write(intptr_t fd, const void *buffer, intptr_t num_bytes, SocketOpKind sync)
static intptr_t GetPort(intptr_t fd)
static SocketAddress * GetRemotePeer(intptr_t fd, intptr_t *port)
static intptr_t Available(intptr_t fd)
static intptr_t CreateConnect(const RawAddr &addr)
static void ShutdownRead(intptr_t fd)
static void Close(intptr_t fd)
static intptr_t Read(intptr_t fd, void *buffer, intptr_t num_bytes)
static intptr_t Write(intptr_t fd, const void *buffer, intptr_t num_bytes)
static intptr_t GetPort(intptr_t fd)
static void ShutdownWrite(intptr_t fd)
static const uint8_t buffer[]
#define NO_RETRY_EXPECTED(expression)
#define VOID_NO_RETRY_EXPECTED(expression)
#define TEMP_FAILURE_RETRY(expression)