Your code is recursive. Perhaps you want something like this sort of pseudo-code:
while (not $connected) { get_input(); check_port(); if ($good_port) { $connected = 1; } }
-- Ken
In reply to Re: Unexpected Output - 2
by kcott
in thread Unexpected Output - 2
by k_manimuthu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |