enum VortexPeerRole

In the context of the initial session creation, the BEEP peer allows you to get which is the role of a given VortexConnection object.

This role could be used to implement some especial features according to the peer type. Allowed values are: VortexRoleInitiator and VortexRoleListener.

VortexListener value represent those connection that is accepting inbound connections, while VortexInitiator value represent those connections initiated to a BEEP peer acting as a server.

You can get current role for a given connection using vortex_connection_get_role.

VortexRoleUnknown  This value is used to represent an unknown role state.
VortexRoleInitiator  The connection is acting as an Initiator one.
VortexRoleListener  The connection is acting as a Listener one.