|
96 |
m_socket = Socket::CreateSocket (GetNode(), m_tid); |
96 |
m_socket = Socket::CreateSocket (GetNode(), m_tid); |
97 |
m_socket->Bind (m_local); |
97 |
m_socket->Bind (m_local); |
98 |
m_socket->Listen (); |
98 |
m_socket->Listen (); |
|
|
99 |
m_socket->ShutdownSend (); |
99 |
if (addressUtils::IsMulticast (m_local)) |
100 |
if (addressUtils::IsMulticast (m_local)) |
100 |
{ |
101 |
{ |
101 |
Ptr<UdpSocket> udpSocket = DynamicCast<UdpSocket> (m_socket); |
102 |
Ptr<UdpSocket> udpSocket = DynamicCast<UdpSocket> (m_socket); |