From 97be8e7f9b5bbfdfae63f1fd21847ff24ef2bd9f Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 20 Aug 2020 13:54:32 +0200 Subject: [PATCH] UdpSocket: Correctly declare multicast virtual class. [GB.NET] * BUG: UdpSocket: Correctly declare multicast virtual class. --- gb.net/src/CUdpSocket.h | 1 + gb.net/src/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gb.net/src/CUdpSocket.h b/gb.net/src/CUdpSocket.h index ddf1c1ee2..6edb9f56e 100644 --- a/gb.net/src/CUdpSocket.h +++ b/gb.net/src/CUdpSocket.h @@ -31,6 +31,7 @@ #ifndef __CUDPSOCKET_C extern GB_DESC CUdpSocketDesc[]; +extern GB_DESC CUdpSocketMulticastDesc[]; extern GB_STREAM_DESC UdpSocketStream; #else diff --git a/gb.net/src/main.c b/gb.net/src/main.c index 4974e1de8..4caeeb967 100644 --- a/gb.net/src/main.c +++ b/gb.net/src/main.c @@ -44,6 +44,7 @@ GB_DESC *GB_CLASSES[] EXPORT = CDnsClientDesc, CSocketDesc, CServerSocketDesc, + CUdpSocketMulticastDesc, CUdpSocketDesc, CSerialPortDesc, CNetDesc,