[Gambas-user] Binding UdpSocket to specific IP

gen braga genbraga1 at gmail.com
Mon Feb 11 12:05:51 CET 2019


Hi Benoit,

It works fine by now.

Sorry the delay in provide the feedback.

Gen.

Em sáb, 12 de jan de 2019 15:27, Benoît Minisini <g4mba5 at gmail.com>
escreveu:

> 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
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190211/22e308a6/attachment-0001.html>


More information about the User mailing list