Functions to create a client without using a struct as a parameter don't make sense. Well, the return of the function should be the struct (to later manipulate it). A user who will use this library knows that in the C language, structs is a basic concept, so trying to create an abstraction layer would be a bit "over engineering"
Functions to create a client without using a struct as a parameter don't make sense. Well, the return of the function should be the struct (to later manipulate it). A user who will use this library knows that in the C language, structs is a basic concept, so trying to create an abstraction layer would be a bit "over engineering"
See:
client_tcp_api.h