Hi everyone,
I am trying to run udp stream in my device. I wrote the below code:
addr.sin_family = AF_INET; addr.sin_port = 10000; addr.sin_addr.s_addr = IPADDR(192,168,1,176); sock = socket(PF_INET, SOCK_DGRAM, 0); result = connect(sock, &addr, sizeof(addr));
but I got this Linker error:
>Undefined : "SOCK_DGRAM_CALL"
>Referenced from "RTC_Init" in
does anyone know the solution?
regards
已解决! 转到解答。