|
|
| 141 |
* \param dataSent Callback for the event that data is sent from the |
141 |
* \param dataSent Callback for the event that data is sent from the |
| 142 |
* underlying transport protocol. This callback is passed a |
142 |
* underlying transport protocol. This callback is passed a |
| 143 |
* pointer to the socket, and the number of bytes sent. |
143 |
* pointer to the socket, and the number of bytes sent. |
| 144 |
* \returns whether or not this socket supports this callback. Note |
|
|
| 145 |
* that this is a non-standard socket call. Some socket |
| 146 |
* implementations in ns-3 may not support this call, so the |
| 147 |
* user should check this return value to confirm that the |
| 148 |
* callback is supported. |
| 149 |
*/ |
144 |
*/ |
| 150 |
bool SetDataSentCallback (Callback<void, Ptr<Socket>, |
145 |
void SetDataSentCallback (Callback<void, Ptr<Socket>, |
| 151 |
uint32_t> dataSent); |
146 |
uint32_t> dataSent); |
| 152 |
/** |
147 |
/** |
| 153 |
* \brief Notify application when space in transmit buffer is added |
148 |
* \brief Notify application when space in transmit buffer is added |