B4J Question how to select an interface by using the udpsocket

electro179

Active Member
Licensed User
Longtime User
Hello

I have many interfaces on my computer

when I use
B4X:
[INDENT]Sub Class_Globals[/INDENT]
[INDENT]    Private fx As JFX[/INDENT]
[INDENT]  [/INDENT]
[INDENT]    Private udp As UDPSocket[/INDENT]
[INDENT]End Sub[/INDENT]
[INDENT][/INDENT]
[INDENT]'Initializes the object. You can add parameters to this method if needed.[/INDENT]
[INDENT]Public Sub Initialize[/INDENT]
[INDENT]    udp.Initialize("event",6454,1500)[/INDENT]
[INDENT]End Sub[/INDENT]

it connect the udp socket to one interface, i cannot choice on which interface


Somebody can help me ?

thanks
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Please use [code]code here...[/code] tags when posting code.

 
Upvote 0
Top