Is it possible to send and recieve a structure with SSL\_write and SSL\_read? 

Client

```
typedef struct{
      unsigned int userid;
      unsigned int name;        
} sendInfo;

  sendInfo infofile;

SSL_write(ssl, infofile, sizeof(struct infofile)); 

```

Server

```
bytes = SSL_read(ssl, struct(infofile), sizeof(struct infofile) );

```

Is there other methods to send a structure?

Cheers.