I have a thread that receives a data from a device. When it comes to line myDatagramPacket.getAddress().getHostName()
it stops for 5-6 seconds then it continues.
When i tried a hardcoded ip like "192.168.1.163", it is working nonstop.
How can I solve this problem?
Any suggestions?