liteserver / binn

Binary Serialization
Apache License 2.0
440 stars 58 forks source link

Send layers of struct over TCP, possible? #17

Closed hubertcy closed 6 years ago

hubertcy commented 6 years ago

I have managed to send a simple struct over TCP. Now, I am facing a new challenge. I need to send multiple layers of struct over TCP. Is that possible in C using your library? Multiple layers means struct A contains another struct B. Inside struct B, it contains struct C and so on.

kroggen commented 6 years ago

I guess you need to learn about JSON structures.

And check the Binn usage documentation.