version 1.124, 2022/09/07 13:40:40
|
version 1.127, 2023/11/24 08:10:19
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.34 |
RPL/2 (R) version 4.1.35 |
Copyright (C) 1989-2021 Dr. BERTRAND Joël |
Copyright (C) 1989-2023 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 3280 instruction_wfsock(struct_processus *s_e
|
Line 3280 instruction_wfsock(struct_processus *s_e
|
(*s_objet_argument).objet)).type, "SEQUENTIAL DATAGRAM") != 0)) |
(*s_objet_argument).objet)).type, "SEQUENTIAL DATAGRAM") != 0)) |
{ |
{ |
// Mode non connecté : l'attente se fait sur un poll() |
// Mode non connecté : l'attente se fait sur un poll() |
|
#define DEBUG_RETURN |
if ((s_objet_resultat = copie_objet(s_etat_processus, |
if ((s_objet_resultat = copie_objet(s_etat_processus, |
s_objet_argument, 'P')) == NULL) |
s_objet_argument, 'P')) == NULL) |
{ |
{ |
Line 3482 instruction_wfsock(struct_processus *s_e
|
Line 3482 instruction_wfsock(struct_processus *s_e
|
} |
} |
} while(drapeau == d_faux); |
} while(drapeau == d_faux); |
|
|
|
printf("socket: %d\n", (*((struct_socket *) (*s_objet_resultat).objet)).socket); |
if (((*((struct_socket *) (*s_objet_resultat).objet)) |
if (((*((struct_socket *) (*s_objet_resultat).objet)) |
.adresse_distante = malloc(22 * |
.adresse_distante = malloc(22 * |
sizeof(unsigned char))) == NULL) |
sizeof(unsigned char))) == NULL) |