Android Question Receiving UDP packets

janderkan

Well-Known Member
Licensed User
Longtime User
I have a Windows app sending data on UDP port 7777.
I have created a B4A app that listens on port 7777.
If I set the sending app to use broadcast (255.255.255.255) I receive data OK.
Sending to specific IP (get from socket.getmyip and from b4a-bridge) , no data are received.
I have tried both in debug and release mode.
Any ideas ?
Jan
 

janderkan

Well-Known Member
Licensed User
Longtime User
The broadcast function is used to discover the server, when I input an IP address the discovery function is not needed.
Next time I have a problem I will go to bed and not bother you with stupid questions. :)
 
Upvote 0
Top