Bonsoir,

Comment fait-on pour envoyer une structure de structure avec send et recv ? La structure perseait jusqu'à 20mo...

Structure :
typedef struct s_net
{
struct truct Truc;
struct truc_2 Truc_2;
[...]
}t_net;

En une fois c'est possible ?

send(socket, (char *)st_net, sizeof(st_net), 0) ?

Merci
Merci c