equal
deleted
inserted
replaced
72 |
72 |
73 void CreateNodes (); |
73 void CreateNodes (); |
74 void CreateDevices (); |
74 void CreateDevices (); |
75 void InstallApplications (); |
75 void InstallApplications (); |
76 void ResetPosition (); |
76 void ResetPosition (); |
|
77 |
|
78 /// Server-side socket |
|
79 Ptr<Socket> m_serverSocket; |
|
80 /// Client-side socket |
|
81 Ptr<Socket> m_clientSocket; |
|
82 |
|
83 // sent packets counter |
|
84 uint32_t m_sentPktsCounter; |
|
85 |
|
86 /** |
|
87 * Send data |
|
88 * \param socket the sending socket |
|
89 */ |
|
90 void SendData (Ptr<Socket> socket); |
|
91 |
|
92 /** |
|
93 * \brief Handle a packet reception. |
|
94 * |
|
95 * This function is called by lower layers. |
|
96 * |
|
97 * \param socket the socket the packet was received to. |
|
98 */ |
|
99 void HandleReadServer (Ptr<Socket> socket); |
|
100 |
|
101 /** |
|
102 * \brief Handle a packet reception. |
|
103 * |
|
104 * This function is called by lower layers. |
|
105 * |
|
106 * \param socket the socket the packet was received to. |
|
107 */ |
|
108 void HandleReadClient (Ptr<Socket> socket); |
77 }; |
109 }; |
78 |
110 |