Start Method

The Start method will start sniffing of the serial port you supply as the argument.

BOOL Start(
BSTR PortName // name of the serial port to sniff
);

Parameters [in] Name of the serial port to sniff. Could be any but not longer than 128 characters.
Return Values
If the function succeeds, the return value is TRUE. If the port is already being sniffed or does not exist, the return value is FALSE.
Remarks Use Close method to stop sniffing a serial port. If your program exits without calling Close method, it will be called automatically in Serial Port Sniffer object destructor.


See also

Stop method