null on error.createSrcStr
fn
string createSrcStr(SourceType type, string host, string port, string name, out string errBuf)Creates a source string for use with pcap_open.
Parameters
type | The source type. |
host | The host name. |
port | The port number. |
name | The device name. |
errBuf | Buffer to receive error information if the operation fails. |
Returns
The created source string, or