--- rpl/src/instructions_w1.c 2023/08/07 17:42:59 1.125 +++ rpl/src/instructions_w1.c 2023/11/24 08:10:19 1.127 @@ -3280,7 +3280,7 @@ instruction_wfsock(struct_processus *s_e (*s_objet_argument).objet)).type, "SEQUENTIAL DATAGRAM") != 0)) { // Mode non connecté : l'attente se fait sur un poll() - +#define DEBUG_RETURN if ((s_objet_resultat = copie_objet(s_etat_processus, s_objet_argument, 'P')) == NULL) { @@ -3482,6 +3482,7 @@ instruction_wfsock(struct_processus *s_e } } while(drapeau == d_faux); +printf("socket: %d\n", (*((struct_socket *) (*s_objet_resultat).objet)).socket); if (((*((struct_socket *) (*s_objet_resultat).objet)) .adresse_distante = malloc(22 * sizeof(unsigned char))) == NULL)