[Gambas-user] Binding UdpSocket to specific IP

Benoît Minisini g4mba5 at gmail.com
Sat Jan 12 18:24:52 CET 2019


Hi,

In commit 
https://gitlab.com/gambas/gambas/commit/23a8fbc81df4947ac00ea361d22198fc0c33f51f, 
I have added a new UdpSocket.Host property that allows to define the IP 
address used by the Bind() method.

Can you test it and tell me if it works for you?

Le 11/01/2019 à 02:15, Benoît Minisini a écrit :
> Le 10/01/2019 à 11:11, gen braga a écrit :
>> Hi there
>>
>> My dev station's NIC has multiple IP addresses currently assigned. Is 
>> there a way to bind Gambas's UdpSocket to a specific IP? The default 
>> behavior is to listen to any address (0.0.0.0)
>>
>> Thanks in advance.
>>
> 
> It's something to add to the gb.net component.
> 
> Something like new arguments to the Bind method: Bind(address, port)
> 


-- 
Benoît Minisini


More information about the User mailing list