I'm coding an application which opens a TCP/IP connection when an SMS arrives to phone. Server address, port and access point for connection are defined in settings menu and can be changed by user.
TCP/IP connection and everything works well but when I start the connection at startup of the application I always get a access point selection dialog. I'm using RGenericAgent::StartOutgoing() to start the connection. I'd like to automatically (with no prompt) use access point specified in the settings by user.
I have a list of access points (CApListItemList) an I would like to open connection using particular access point (CApListItem) from the list.
How can I do this?