Flutter Engine
The Flutter Engine
Namespaces | Enumerations | Functions | Variables
socket.cc File Reference
#include "bin/socket.h"
#include "bin/dartutils.h"
#include "bin/eventhandler.h"
#include "bin/file.h"
#include "bin/io_buffer.h"
#include "bin/isolate_data.h"
#include "bin/lockers.h"
#include "bin/process.h"
#include "bin/thread.h"
#include "bin/typed_data_utils.h"
#include "bin/utils.h"
#include "include/dart_api.h"
#include "platform/globals.h"
#include "platform/utils.h"

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::bin
 

Enumerations

enum  dart::bin::_RawSocketOptions : int64_t {
  dart::bin::DART_SOL_SOCKET = 0 , dart::bin::DART_IPPROTO_IP = 1 , dart::bin::DART_IP_MULTICAST_IF = 2 , dart::bin::DART_IPPROTO_IPV6 = 3 ,
  dart::bin::DART_IPV6_MULTICAST_IF = 4 , dart::bin::DART_IPPROTO_TCP = 5 , dart::bin::DART_IPPROTO_UDP = 6
}
 

Functions

void FUNCTION_NAME() dart::bin::Socket_CreateConnect (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_CreateBindConnect (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_CreateUnixDomainBindConnect (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_CreateUnixDomainConnect (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_CreateBindDatagram (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_Available (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_Read (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_RecvFrom (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_ReceiveMessage (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_HasPendingWrite (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_WriteList (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_SendMessage (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_SendTo (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetPort (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetRemotePeer (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetError (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_Fatal (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetFD (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetType (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetStdioHandle (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetSocketId (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_SetSocketId (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ServerSocket_CreateBindListen (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ServerSocket_CreateUnixDomainBindListen (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ServerSocket_Accept (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetOption (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_SetOption (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_SetRawOption (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_GetRawOption (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::RawSocketOption_GetOptionValue (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_JoinMulticast (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_LeaveMulticast (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::Socket_AvailableDatagram (Dart_NativeArguments args)
 
static void dart::bin::NormalSocketFinalizer (void *isolate_data, void *data)
 
static void dart::bin::ListeningSocketFinalizer (void *isolate_data, void *data)
 
static void dart::bin::StdioSocketFinalizer (void *isolate_data, void *data)
 
static void dart::bin::SignalSocketFinalizer (void *isolate_data, void *data)
 
void FUNCTION_NAME() dart::bin::SocketControlMessage_fromHandles (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SocketControlMessageImpl_extractHandles (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ResourceHandleImpl_toFile (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ResourceHandleImpl_toSocket (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ResourceHandleImpl_toRawSocket (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::ResourceHandleImpl_toRawDatagramSocket (Dart_NativeArguments args)
 

Variables

static constexpr int dart::bin::kSocketIdNativeField = 0
 
ListeningSocketRegistry * dart::bin::globalTcpListeningSocketRegistry = nullptr