[Ns-bugs] [Bug 283] getsockname implementation needs support in socket base class
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Aug 11 21:26:46 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=283
------- Comment #1 from tomh at tomh.org 2008-08-12 00:26 -------
(In reply to comment #0)
> I want to implement getsockname in my code. I would like to add GetSockName in
> socket.h:
>
> class Socket
> {
> public:
> // pick the one you prefer.
> int GetSockName (Address &address);
> int GetSockName (Address *address);
> };
>
What about:
Address GetSockName (void) const;
which could be mapped to int getsockname(...); at the simu level?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list