Tintware Documentation : Tint Programming Language : Tint Reference : Ports and Processes : Tcp Ports : tcp.connectSyntax#(%tcp-port.connect,%server,%tcp-port) #(%tcp-port.connect,%server,%tcp-port,%timeout) %tcp-port is any port created using tint.socket. %server is the either the ip address of a server or its DNS name. %tcp-port is a number which is the tcp/ip port that the socket should connect with. %timeout optionally specifies how long to wait in seconds for the connection to complete. Example#(def,p,#(tint.socket)) #(#(p).connect,sourceforge.org,80) #(#(p).close) |