# LINCServer

## Name

LINCServer -- A listening server object

## Synopsis

    gboolean    linc_server_setup               (LINCServer *cnx,
                                                 const char *proto_name,
                                                 const char *local_host_info,
                                                 const char *local_serv_info,
                                                 LINCConnectionOptions create_options);

## Description

## Details

### linc_server_setup ()

    gboolean    linc_server_setup               (LINCServer *cnx,
                                                 const char *proto_name,
                                                 const char *local_host_info,
                                                 const char *local_serv_info,
                                                 LINCConnectionOptions create_options);

Setup the server object. You should create a server object via g_object_new and then set it up, using this method.

`cnx` : | the connection to setup
`proto_name` : | the protocol to use
`local_host_info` : | the local hsot
`local_serv_info` : | remote server info
`create_options` : | various create options
Returns : | the initialized server