i did a
if { [catch { ns_sockopen host port1 } err]  {
   ...do an ns_sockopen on port2 instead
   ...
}

expected:
   if there was an error doing ns_sockopen on port1 continue execution and
should do a ns_sockopen on port2.

probem:
   server exits whenever port1 is unavailable.... as in die...

thanks in advance..
suggestions is appreciated.....




----------------------------------------------------------------------
The information contained in this message (including any attachments)
is confidential and intended solely for the attention and use of the
named addressee(s). It must not be copied, distributed nor disclosed
to any person. If you are not the intended recipient, please delete
it from your system and notify sender immediately. Any disclosure,
copying or distribution thereof or any action taken or omitted to be
taken in reliance thereon is prohibited and may be unlawful.
----------------------------------------------------------------------

Reply via email to