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.0.0.0 (1.0.0.0)
Syntax
public TCPConnection(
	string ip = "192.168.127.255",
	int port = 9500,
	int timeout = 2000,
	int connectionTimeout = 20000
)

Parameters

ip  String  (Optional)
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  Int32  (Optional)
The TCP IP Port number, defaults to 9500
timeout  Int32  (Optional)
The Read and Write Timeout for data, defaults to 2,000ms
connectionTimeout  Int32  (Optional)
The Connection Timeout for the TCP socket to open, defaults to 20,000ms
See Also