[riot-devel] Network API task force

Kaspar Schleiser kaspar at schleiser.de
Fri May 8 14:54:19 CEST 2015


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...


More information about the devel mailing list