Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: PowerTCP and ColdFusion 5
richgruber

From: Omaha, NE USA
Posts: 1
Member Since: 10/09/03
posted October 9, 2003 4:35 PM

I am trying to use PowerTCP in a ColdFusion page like this:

<cfobject action="create" type="com" class="Dart.Tcp.1"  name="myDart" context="inproc">

<cfset myDart.Timeout = 30>
<cfset myDart.Connect ("192.168.128.92", 2900)>

It is failing at the connect() statement with this error message. Can anyone tell me what I am doing wrong?
Error building an argument list for: CONNECT
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 9, 2003 4:39 PM

Coldfusion probably does not support optional parameters. Connect actually takes 4 parameters. Try this instead:

myDart.Connect ("192.168.128.92", 2900, "", 0)
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX