UDP Server not working
Posted: Mon Jan 12, 2015 7:28 am
I'm not quite sure if this is a bug, because I cant find any sample code. But this is the part of my code that starts an UDP Server:
The UDP Server doesn't receive packages directly send to the IP nor broadcast/multicasts. However my Tablets (logged into the same hotspot) does indeed get the packages.
Does anyone can confirm this behavior, or did I do anything wrong at all?
*version 0.9.5 Build 20150105
Code: Select all
sv=net.createServer(net.UDP)
sv:listen(4243,function(c)
c:on("receive", function(c, pl) print(pl) end)
end)
The UDP Server doesn't receive packages directly send to the IP nor broadcast/multicasts. However my Tablets (logged into the same hotspot) does indeed get the packages.
Does anyone can confirm this behavior, or did I do anything wrong at all?
*version 0.9.5 Build 20150105