View | Details | Raw Unified | Return to bug 833
Collapse All | Expand All

(-)a/src/applications/onoff/onoff-application.cc (+1 lines)
 Lines 133-138    Link Here 
133
      m_socket = Socket::CreateSocket (GetNode(), m_tid);
133
      m_socket = Socket::CreateSocket (GetNode(), m_tid);
134
      m_socket->Bind ();
134
      m_socket->Bind ();
135
      m_socket->Connect (m_peer);
135
      m_socket->Connect (m_peer);
136
      m_socket->ShutdownRecv ();
136
    }
137
    }
137
  // Insure no pending event
138
  // Insure no pending event
138
  CancelEvents ();
139
  CancelEvents ();
(-)a/src/applications/packet-sink/packet-sink.cc (+1 lines)
 Lines 96-101    Link Here 
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);

Return to bug 833