equal
deleted
inserted
replaced
38 { |
38 { |
39 public: |
39 public: |
40 /** |
40 /** |
41 * Create an unbound udp socket. |
41 * Create an unbound udp socket. |
42 */ |
42 */ |
43 UdpSocket (Ptr<Node> node, Ptr<UdpL4Protocol> udp); |
43 UdpSocket (); |
44 virtual ~UdpSocket (); |
44 virtual ~UdpSocket (); |
|
45 |
|
46 void SetNode (Ptr<Node> node); |
|
47 void SetUdp (Ptr<UdpL4Protocol> udp); |
45 |
48 |
46 virtual enum SocketErrno GetErrno (void) const; |
49 virtual enum SocketErrno GetErrno (void) const; |
47 virtual Ptr<Node> GetNode (void) const; |
50 virtual Ptr<Node> GetNode (void) const; |
48 virtual int Bind (void); |
51 virtual int Bind (void); |
49 virtual int Bind (const Address &address); |
52 virtual int Bind (const Address &address); |