CoolBoy119

Results 16 comments of CoolBoy119

I just do some update in climdnssvc.c,this is my code: `int main(int argc, char *argv[]) { // const char** txt = NULL; struct in_addr host; char hostname[256],* arg, * identity...

I found it could not create a TXT record in mdnsd_register_svc,it may not enter this branch. ![image](https://github.com/philippe44/mdnssvc/assets/53284426/89ca4b57-7a27-4e0c-b00c-5b70e4bc34ea)

when I use it with removing the first NULL element in txt, it can enter the branch,but a segfault occurred during runtime. const char* txt_raop[]= { "tp=UDP", "sm=false", "sv=false", "ek=1",...

But it also crashed if I only placed NULL at the end.

yes,I just update with this,it also crash. const char* txt_raop[]= {"tp=UDP", "sm=false", "sv=false", "ek=1", "et=0,1", "md=0,1,2", "cn=0,1", "ch=2", "ss=16", "sr=44100", "vn=3", "txtvers=1", NULL }; if I don't set TXT record,the...

I look the libraop project in AirConnect,it show txt code like this:[https://github.com/philippe44/libraop/blob/master/src/raop_server.c](url) I think it register service without txt record. ![image](https://github.com/philippe44/mdnssvc/assets/53284426/5d9eae14-516c-4f60-91f9-74642c189a62)