rahuljn Posted July 25, 2014 Report Share Posted July 25, 2014 Hi Experts In one of my example, an initiator socket is calling a b_transport() API. Inside b_transport() API, is there a way to know which socket called this ? Thanks RahulJn Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted July 25, 2014 Report Share Posted July 25, 2014 With the plain socket (interfaces), there is no way to determine the socket through which an interface function has been called. There are so called "tagged" convenience sockets provided as part of the TLM utilities (see IEEE 1666-2011, Section 16.1.3, including an example at the end of the section). This topic has been discussed here recently in this thread. hth, Philipp 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.