Re: Test for TCP port

2011-04-09 Thread René v Amerongen
I remember that I did look into Smallsockets, but never used it. But maybe perfect for you. HTH Op 9 apr 2011, om 05:04 heeft Heizer, Charles het volgende geschreven: > Thanks, > This is what I kind of suspected. Are there any wrappers around bsd socket to > make it easier? > > Thanks, > Cha

Re: Test for TCP port

2011-04-08 Thread Heizer, Charles
Thanks, This is what I kind of suspected. Are there any wrappers around bsd socket to make it easier? Thanks, Charles On Apr 8, 2011, at 5:17 PM, Dave Carrigan wrote: > > On Apr 8, 2011, at 3:26 PM, Heizer, Charles wrote: > >> What is the best way to test to see if a TCP port is reachable a

Re: Test for TCP port

2011-04-08 Thread Dave Carrigan
On Apr 8, 2011, at 3:26 PM, Heizer, Charles wrote: > What is the best way to test to see if a TCP port is reachable and will > answer connections? I was trying to use NSSocketPort and NSConnection but I'm > not getting a valid connection. You have to connect to it. Unfortunately, neither NSSoc

Re: Test for TCP port

2011-04-08 Thread Sherm Pendley
On Fri, Apr 8, 2011 at 6:26 PM, Heizer, Charles wrote: > > What is the best way to test to see if a TCP port is reachable and will > answer connections? I was trying to use NSSocketPort and NSConnection but I'm > not getting a valid connection. > > NSSocketPort *sendPort = [[NSSocketPort alloc]

Re: Test for TCP port

2011-04-08 Thread Kyle Sluder
On Fri, Apr 8, 2011 at 3:26 PM, Heizer, Charles wrote: > What is the best way to test to see if a TCP port is reachable and will > answer connections? I was trying to use NSSocketPort and NSConnection but I'm > not getting a valid connection. The *only* way to correctly determine if a TCP port

Test for TCP port

2011-04-08 Thread Heizer, Charles
Hello, What is the best way to test to see if a TCP port is reachable and will answer connections? I was trying to use NSSocketPort and NSConnection but I'm not getting a valid connection. Thanks, Charles NSSocketPort *sendPort = [[NSSocketPort alloc] initRemoteWithTCPPort:3600 host:@"test.my