Client.portByName

Port portByName(const(char) * name) @nogc nothrow

Get a Port by name. Real-time safe.

Parameters

nameThe port name (zero terminated string)

Returns

The Port which will be a null valued port (isNull()) if not found
Port portByName(string name)

Get a Port by name. NOT real-time safe (may allocate).

Parameters

nameThe port name

Returns

The Port which will be a null valued port (isNull()) if not found