Archived

This forum has been archived. Please start a new discussion on GitHub.

How to extend ICE log information?

There are two applications which communicate over ice endpoint. Under some obscure circumstances connection is dropped and i found the following ice log:

connection exception: TcpTransceiver.cpp:217: Ice::ConnectionLostException: connection lost: recv() returned zero local address = 127.0.0.1:2523 remote address = 127.0.0.1:52927

Application works with hundreds of connection except created by ICE. I have a suspicion that endpoint's socket was closed by main application.

Is the any way to get know what socket descriptor was closed for the case above?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    There's no way to retrieve the file descriptor associated with the socket of an Ice connection. It's not totally clear to me what your problem is, are you suspecting that your application directly closed the socket associated with the Ice connection?

    Cheers,
    Benoit.
  • Correct. It's possible that due to logic error an application directly closes socket that was assigned to the connection.

    And problem is that during a short amout of time (couple of seconds) can be opened and closed tens of socket descriptors in the several thread. So such info would be very useful in my case.