parseSrcStr

fnint parseSrcStr(string source, out SourceType type, out string host, out string port, out string name, out string errBuf)

Parses a source string into its components.

Parameters

sourceThe source string to parse.
typeReceives the source type.
hostReceives the host name.
portReceives the port number.
nameReceives the device name.
errBufBuffer to receive error information if the operation fails.

Returns

0 on success, -1 on error.