Jump to content
SumitK

How to know whether the tlm sockets are connected or not

Recommended Posts

Hi Guys

How can I know whether 

- a multi_passthrough_initiator_socket is connected or not

- a multi_passthrough_target_socket is connected or not 

I need this before forwarding the incoming/outgoing transactions to avoid runtime error

Thanks in advance

SumitJ

 

Share this post


Link to post
Share on other sites

Thanks Eyck

I have couple of more questions. 

1. In case of tlm::tlm_inititor_socket/tlm::tlm_target_sockts, how to know whther they are connected or not

2. If N=0 for tlm::tlm_inititor_socket/tlm::tlm_target_sockts, then how to know the number of sockets bound to it

Thanks

Sumit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×