diff options
Diffstat (limited to 'src/udp_wrap.h')
-rw-r--r-- | src/udp_wrap.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/udp_wrap.h b/src/udp_wrap.h index 83aeb1ec08..3b8ca7df35 100644 --- a/src/udp_wrap.h +++ b/src/udp_wrap.h @@ -144,11 +144,6 @@ class UDPWrap final : public HandleWrap, const v8::FunctionCallbackInfo<v8::Value>& args); static void SetMulticastInterface( const v8::FunctionCallbackInfo<v8::Value>& args); - static void SetMulticastTTL(const v8::FunctionCallbackInfo<v8::Value>& args); - static void SetMulticastLoopback( - const v8::FunctionCallbackInfo<v8::Value>& args); - static void SetBroadcast(const v8::FunctionCallbackInfo<v8::Value>& args); - static void SetTTL(const v8::FunctionCallbackInfo<v8::Value>& args); static void BufferSize(const v8::FunctionCallbackInfo<v8::Value>& args); static void GetSendQueueSize(const v8::FunctionCallbackInfo<v8::Value>& args); static void GetSendQueueCount( @@ -175,6 +170,8 @@ class UDPWrap final : public HandleWrap, AsyncWrap* GetAsyncWrap() override; + inline uv_udp_t* GetLibuvHandle() { return &handle_; } + static v8::MaybeLocal<v8::Object> Instantiate(Environment* env, AsyncWrap* parent, SocketType type); |