Click or drag to resize

TCPConnection Constructor

Create a TCP Connection to a Brainboxes EDDevice Use Brainboxes Boost.IO to find out the IP address of the Brainboxes EDDevice on your network

Namespace:  Brainboxes.IO
Assembly:  Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntax
public TCPConnection(
	string ip = "192.168.127.255",
	int port = 9500,
	int timeout = 2000,
	int connectionTimeout = 20000
)

Parameters

ip (Optional)
Type: SystemString
The IP address of the EDDevice to connect to, defaults to 192.168.127.255, which will be the case if the device is on a network without DHCP and the connecting computer is on the same subnet
port (Optional)
Type: SystemInt32
The TCP IP Port number, defaults to 9500
timeout (Optional)
Type: SystemInt32
The Read and Write Timeout for data, defaults to 2,000ms
connectionTimeout (Optional)
Type: SystemInt32
The Connection Timeout for the TCP socket to open, defaults to 20,000ms
See Also