Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: Telnet1.Connect does not work
xplorer2k

From: Oxnard, CA USA
Posts: 33
Member Since: 03/27/09
posted March 27, 2009 6:27 PM

Hi Everyone,

I just starting using PowerTCP and the following code gives me an error -Overload resolution failed because no accessible 'Connect' accepts this number of arguments:
Telnet1.Connect("192.168.98.129", "9999")

Basically, I want to use a different port than 23.

I am using VB.net 2008. Thanks

Xplorer2k
xplorer2k

From: Oxnard, CA USA
Posts: 33
Member Since: 03/27/09
posted March 30, 2009 1:22 PM

Hi,

I am using PowerTCP Telnet for .NET 4.0 and this error is probably because I am not using the correct namespace. I have tried the following:
Imports Dart.Telnet
Imports Dart.Common
Imports Dart.PowerTCP.Telnet

But none of them clears up this error. Thanks,

xplorer2k
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 30, 2009 1:56 PM

Hi,
You must set the Telnet.ServerPort property prior to calling Telnet.Connect.

Hope it helps,
-ken
xplorer2k

From: Oxnard, CA USA
Posts: 33
Member Since: 03/27/09
posted March 31, 2009 11:23 AM

Thanks Ken!

xplorer2k
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX