Apply patch to fix bug 363
This commit is contained in:
@@ -71,12 +71,11 @@ Socket::SetAcceptCallback (
|
||||
m_newConnectionCreated = newConnectionCreated;
|
||||
}
|
||||
|
||||
bool
|
||||
void
|
||||
Socket::SetDataSentCallback (Callback<void, Ptr<Socket>, uint32_t> dataSent)
|
||||
{
|
||||
NS_LOG_FUNCTION_NOARGS ();
|
||||
m_dataSent = dataSent;
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -141,13 +141,8 @@ public:
|
||||
* \param dataSent Callback for the event that data is sent from the
|
||||
* underlying transport protocol. This callback is passed a
|
||||
* pointer to the socket, and the number of bytes sent.
|
||||
* \returns whether or not this socket supports this callback. Note
|
||||
* that this is a non-standard socket call. Some socket
|
||||
* implementations in ns-3 may not support this call, so the
|
||||
* user should check this return value to confirm that the
|
||||
* callback is supported.
|
||||
*/
|
||||
bool SetDataSentCallback (Callback<void, Ptr<Socket>,
|
||||
void SetDataSentCallback (Callback<void, Ptr<Socket>,
|
||||
uint32_t> dataSent);
|
||||
/**
|
||||
* \brief Notify application when space in transmit buffer is added
|
||||
|
||||
Reference in New Issue
Block a user