0

TRANSPORT_LOCAL SessionOpts problem

asked 2015-04-14 11:09:52 -0700

hashok gravatar image

Hi, I'm trying to bind a session restricted only to local transports (for IPC purposes) by passing only TRANSPORT_LOCAL to SessionOpts TransportMask, but bind operation fails with ER_ALLJOYN_BINDSESSIONPORT_REPLY_INVALID_OPTS.

The easiest way to reproduce is to run official example with option for local transport like this: 'bbservice -l'. It does not matter whether bundled or standalone router is used.

The question is - why it does not work and how TRANSPORT_LOCAL option is the supposed to be used?

SW: 14.12b, Linux. I also did some debugging and found out that problem (SW bug?) might be related to the fact, that DaemonTransport (which implements local "unix" transport on Linux) does not override the default implementation of Transport::SupportsOptions() virtual method which by default always returns false. Not sure, it is on purpose or not.

BR, Andrey

edit retag flag offensive close merge delete

Comments

this is a bug - you should file it at jira.allseenalliance.org.

ry.jones ( 2015-04-14 14:11:14 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-14 23:27:09 -0700

hashok gravatar image

https://jira.allseenalliance.org/browse/ASACORE-1867 Done.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-14 11:09:52 -0700

Seen: 56 times

Last updated: Apr 14 '15