Frage

When using a cruiserServerControlAction in CCTray, how do you specify the remote server tag? The documentation only specifies that a string must be entered, I tried ip address with various leading and trailing slashes.

War es hilfreich?

Lösung

The format, which doesn't seem to be documented anywhere (maybe it is obvious but it wasn't for me!) is:

tcp://{ipaddress}:{port}

I found this by looking through the source code and seeing the default value that was being used. If anyone is involved in the community, I guess the doc's could be updated to show the default value:

tcp://localhost:21234
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top