Click or drag to resize

MvComponentConnect Method

Lets you establish a connection with a the server identified by its name and hostname.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax
public static MvComponent Connect(
	string server,
	string host,
	int timeout = -1
)

Parameters

server
Type: SystemString
: The server name.
host
Type: SystemString
The host name.
timeout (Optional)
Type: SystemInt32
The timeout for the socket connection in milliseconds.

Return Value

Type: MvComponent
The created component if the connection is successful, null otherwise.
Remarks
Category: Server connection.
See Also