Here we have a very simple example of how to make sure the wireless AP does not drop the connection when in extended idle state. What the code is doing is to periodically
dim ka_counter as byte=0 'counter for keep alive
'This is the code for setting up the socket
'this is the code that you use for sending out the broadcast packet,
if ka_counter=120 then
sock.targetinterface = PL_SOCK_INTERFACE_WLN
sock.targetip = "255.255.255.255"
Please sign in to leave a comment.