Port name. On Posix, it should be reffer to device file like /dev/ttyS<N>. On Windows, port name should be like COM<N> or any other.
Setups constant timeout on read operations.
Setups constant timeout on write operations. In posix is ignored.
InvalidParametersException, InvalidDeviceException
Creates new serial port instance.