Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Ports and Processes : Tcp Ports : tcp.connected

Syntax

#(%tcp-port.connected)

%tcp-port is any tcp/ip port. This routine will return zero if the socket is not connected and one if it is connected.

Example

#(def,p,#(tint.socket))

#(#(p).connected)
0
#(#(p).connect,sourceforge.org,80)

#(#(p).connected)
1
#(#(p).close)