Click or drag to resize

ConnectionOpen Method (ProtocolAddress, Type, Boolean, ConnectionFlags, ConnectionSharing)

Opens a socket.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public static Connection Open(
	ProtocolAddress address,
	Type services,
	bool openConnection = true,
	ConnectionFlags flags = ConnectionFlags.Default,
	ConnectionSharing sharing = ConnectionSharing.Default
)

Parameters

address
Type: Demo3D.NetProtocolAddress
Address to open.
services
Type: SystemType
Required services.
openConnection (Optional)
Type: SystemBoolean
False to return the service without opening.
flags (Optional)
Type: Demo3D.NetConnectionFlags
Connection flags.
sharing (Optional)
Type: Demo3D.NetConnectionSharing
Controls connection sharing.

Return Value

Type: Connection
The socket.
See Also