This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


class %IO.Socket extends %IO.DeviceStream, %IO.IParts.SocketIO, %IO.SocketCommon

Property Inventory (Including Private)

Method Inventory (Including Private)


property Host as %String (MAXLEN = 500);
Property methods: HostDisplayToLogical(), HostGet(), HostIsValid(), HostLogicalToDisplay(), HostLogicalToOdbc(), HostNormalize(), HostSet()


method Close(Output pSC As %Status, pIntentional As %Boolean = 1, pSCReason As %Status = $$$OK) as %Boolean
Disconnect and close the current connection
method Open(pHost As %String = "", pPort As %String = "", ByRef pTimeout As %Numeric = -1, Output pSC As %Status) as %Boolean
Establish a TCP connection to the given host computer on the given port number, if possible within pTimeout.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)