--- rpl/src/instructions_w1.c 2021/12/09 22:44:59 1.123 +++ rpl/src/instructions_w1.c 2023/11/24 08:10:19 1.127 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.33 - Copyright (C) 1989-2021 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.35 + Copyright (C) 1989-2023 Dr. BERTRAND Joël This file is part of RPL/2. @@ -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)