I'm trying to send sessionless signal in C++. From documentation and videos, it seems to me that the only difference in sending sessionless signals is the flag ALLJOYN_FLAG_SESSIONLESS which gets passed to the Signal() method. However, I can't manage to get it to work. I have added the sessionless signal to the interface, registered signal handler, but it doesn't work. I would appreciate if I could get concise information on steps that have to be made in order to send sessionless signals.
The reason I'm interested in sessionless signals, for now, is that I have no knowledge of implemented mechanisms for connecting to random Alljoyn app without knowing it's SessionPort in advance. Sample codes contain hard-coded SessionPort numbers, so I'm also interested whether or not there are some recommended ways of doing this. As far as I have understood the Alljoyn Framework is designed to be able to do that, but I haven't found out a way to do this. So, basically I was trying to send SessionPort information using sessionless signals. At first I thought that the About service is used for that, but there aren't any fields representing SessionPort, so I'm stuck.