Answered
Determine if a port is open on Remote Server
I am trying to write a function to determine if a port is
open on a remote server. I would like to do this within ColdFusion.
See below for what I have come up with so far
The problem I have with this method is that on failer it takes 20 seconds to return. I have found methods using InetSocketAddress that allows you to set a timeout but that does not seem to be available within ColdFusion
I am certainly not stuck on Sockets if there another method that will work.
I am using CF 7 on Server 2003
Thanks
See below for what I have come up with so far
The problem I have with this method is that on failer it takes 20 seconds to return. I have found methods using InetSocketAddress that allows you to set a timeout but that does not seem to be available within ColdFusion
I am certainly not stuck on Sockets if there another method that will work.
I am using CF 7 on Server 2003
Thanks
