ciao
come faccio a passare una struttura tramite una socket???
ho provato a fare:
write(socket,&puntatore_alla_struttura,sizeof(stru ttura));
read(socket,puntatore_alla_struttura,sizeof(strutt ura));
ma non funziona....come devo fare???
ciao
come faccio a passare una struttura tramite una socket???
ho provato a fare:
write(socket,&puntatore_alla_struttura,sizeof(stru ttura));
read(socket,puntatore_alla_struttura,sizeof(strutt ura));
ma non funziona....come devo fare???