문제

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.

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top