version 1.2.4.1, 2012/06/29 08:22:49
|
version 1.2.4.2, 2012/06/29 08:44:34
|
Line 72 typedef struct {
|
Line 72 typedef struct {
|
* @sock = Client socket from accept() |
* @sock = Client socket from accept() |
* @buf = Message buffer |
* @buf = Message buffer |
* @timeout = timeout |
* @timeout = timeout |
|
* @nb = Non block socket |
* return: NULL error or !=NULL allocated server handle |
* return: NULL error or !=NULL allocated server handle |
*/ |
*/ |
mqtt_srv_t *mqtt_srv_cliInit(int sock, mqtt_msg_t * __restrict buf, unsigned short timeout); | mqtt_srv_t *mqtt_srv_cliInit(int sock, mqtt_msg_t * __restrict buf, |
| unsigned short timeout, int nb); |
/* |
/* |
* mqtt_srv_Fini() Finish MQTT server side support for clients |
* mqtt_srv_Fini() Finish MQTT server side support for clients |
* |
* |