SumitK Posted March 21, 2018 Report Share Posted March 21, 2018 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 Quote Link to comment Share on other sites More sharing options...
Eyck Posted March 21, 2018 Report Share Posted March 21, 2018 Hi Sumit, you can use the size() method on both sockets to get the number of bound sockets. Cheers -Eyck Quote Link to comment Share on other sites More sharing options...
SumitK Posted March 30, 2018 Author Report Share Posted March 30, 2018 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.