Page 1 of 1

Can PHP reconnect VPN if disconnected or no reply returned

Posted: Mon Jul 26, 2004 4:28 pm
by Calimero
Can php reconnect VPN connection if it on each 10 seconds send a request to some page outside the local network and if more then 3 last requests return FALSE to recconect the VPN connection.

Never tried this, Is this even possible ?

Posted: Mon Jul 26, 2004 5:26 pm
by kettle_drum
Most things are possible, you just have to code it. Should be able to do it with sockets and exec() or however you reconnect to the vpn.