Jump to content

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

 

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...