Hi,
i try to start a UDP-Server in listening-mode,
but the port is not open.
What did i wrong?
Thanks for yor help.
Greetings from germany
Pf@nne
i try to start a UDP-Server in listening-mode,
but the port is not open.
B4X:
Sub Process_Globals
Dim UDPSocket2 As ServerSocket
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
If FirstTime Then
UDPSocket2.Initialize(33333, "UDP")
End If
End Sub
Sub Activity_Resume
UDPSocket2.Listen
End Sub
Sub UDP_PacketArrived (Packet As UDPPacket)
If Packet.Port = 33333 Then Log("33333")
End Sub
What did i wrong?
Thanks for yor help.
Greetings from germany
Pf@nne