typedef struct { LF_config *config; int socket; } LF_params;