Hallo, I try to dynamically manage the list of destinations, so that the server will send incoming packets to all connected clients. So i added addDestinationToList() to the onNewSyncSource() With src.getNetworkAddress(), src.getDataTransportPort(), src.getControlTransportPort() as parameters. The call src.getNetworkAddress() gives no IPHostAddress but just IPAddress, for this i did use addDestinationToList() instead of addDestination. First i had addDestinationToList() in onGotSDESChunk(), but somehow this function was not called. The problem is not that the Destination is not added, but that the packets are not sent back to the Destinations. If there is a better way to keep track of connected clients please let me know.
Thanks a lot for your quick answer Martin -----Ursprüngliche Nachricht----- Von: Federico Montesino Pouzols [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. Oktober 2007 13:33 An: Martin Mainka Cc: [email protected] Betreff: Re: [Ccrtp-devel] Problems with relaying packets Hi, Why are you using addDestinationToList() instead of addDestination()? What return code do you get? _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
