I am looking for a couple things. I looking to know how toHow do you pass a structure from the UDP client to the UDP server in C using sockets. Then I am also wondering how to? How can you access the variables that structure contains. So if on the server? If the structure below is transmitted, how does the server see what the name or age is. Hope you guys can help, and happy coding.?
struct animal { int age; char name[25]; };