Pregunta

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.

¿Fue útil?

Solución

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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top