A powerful feature to connect to a TCP port of another computer on the Internet.[tcpconnect Parameters]TCPSend Contexts[/tcpconnect]
[tcpsend]GET / HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend]
|host||(Required) Name or ip address of the machine to connect to. Do not insert http or ftp into the host text! TCPConnect is a very low-level connection, and it knows nothing about these protocols.|
|port||(Optional) TCP port number to connect to. If not specified, then 80 is assumed.|
|ssl||(Optional) Set this parameter to 'T' to create a secure socket. The port parameter should normally be set to 443 in this case.|
|timeout||This new feature (from version 8.0.3) to [tcpconnect] lets you set a timeout in seconds so that if you are writing the result to a database data.db and the remote server doesn't respond in a reasonable amount of time, then the database will be released after the timeout expires. Otherwise a lock would remains held on data.db and nobody could read from the database|
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...Tips and Tricks
A list of user-submitted tips ...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...WebDNA Libraries
A list of available libraries for WebDNA...WebDNA reference
A list of all WebDNA instructions...F.A.Q
A compilation of some user's questions...
Displays enclosed text without interpreting the [xxx] tags in any way...[platform]
Include the contents of the specified file...[writefile]
[writefile] functions allows you to perform a wide variety of tasks...[fileinfo]
Displays information about a particular file or folder...