parseSrcStr
fn
int 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
source | The source string to parse. |
type | Receives the source type. |
host | Receives the host name. |
port | Receives the port number. |
name | Receives the device name. |
errBuf | Buffer to receive error information if the operation fails. |
Returns
0 on success, -1 on error.