Bonjour,
Il y a un petit truc que je ne comprend pas sur la fonction recvfrom
elle prend bien un void *buf et quant je fait unCode:int recvfrom(int s, void *buf, int len, unsigned int flags struct sockaddr *from, socklen_t *fromlen);
ca ne marche pas alors que unCode:
1
2 char *buf; buf = malloc(1024 * sizeof(*buf));
Je ne comprend pas pourquoi :cry:Code:char buf[1024];
merci