Hi, On 05/08/15 14:51, Oleg Hahm wrote: > But why couldn't udp_send(vargs) not be wrapper/macro for X_send(PROTO_UDP, > vargs)? It definately could.
>> and this udp_send shouldn't have a pktsnip as parameter. > > Well, you will have to specify a pointer to data. I guess the most stack > agnostic way is using a void pointer than. Well, whether it's char*, uint8_t* or void* doesn't really matter. I'd go with char* for consistency with libc, but those are details... Kaspar _______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel