This is the PAL (Platform Adaptation Layer) for the Pubnub C-core library.

Dependencies:   Pubnub_c_core

Dependents:   Pubnub_mbed2_sync

pbpal_mbed2_blocking_io.cpp

Committer:
sveljko
Date:
2016-11-10
Revision:
0:389a44951c54

File content as of revision 0:389a44951c54:

/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */
#include "pbpal.h"

#include "pubnub_internal.h"


int pbpal_set_blocking_io(pubnub_t *pb)
{
    pb->pal.socket->set_blocking(pb->options.use_blocking_io, pb->transaction_timeout_ms);
    return 0;
}