On Monday 09 November 2015 11:23:24 Iovene, Salvatore wrote: > Hello, > I'm trying to get a CSDK client running on Android discover resources > on a CSDK server running on Linux. > > The client and the server are on the same WiFi network (the IP address > 10.10.15.41 below is the server). > > This is a snippet from the logs, right after attempting a discover > with OCDoResource: > > D/IP_ADAP ( 6347): Send Multicast Data is called > D/IP_MONITOR( 6347): Got ifaddrs:: 10.10.15.41 > E/IP_MONITOR( 6347): Added interface: wlan0 (2) > E/IP_SERVER( 6347): send IP_MULTICAST_IF failed: Bad file number (using > defualt) D/IP_SERVER( 6347): IN > E/IP_SERVER( 6347): multicast ipv4 sendTo failed: Bad file number > D/IP_ADAP ( 6347): OUT
Hi Salvatore Can you run the application in strace? Or in gdb and stop at that "send IP_MULTICAST_IF failed" error message, give us the backtrace and the value of the file descriptor? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
