Can PHP reconnect VPN if disconnected or no reply returned

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Calimero
Forum Contributor
Posts: 310
Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way

Can PHP reconnect VPN if disconnected or no reply returned

Post 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 ?
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
Post Reply