anyKode Marilou
ContentsIndexHome
PreviousUpNext
Moda::Commons::MODA_ETCPCHANNELSBUSY Variable

Unable to obtain a free TCP channel for dialing with the MODA server.

C++
const MODA_ERRORS_TYPE MODA_ETCPCHANNELSBUSY = -4;

modacommons.h

MODA is working with several TCP channels. A thread dial with Moda server by locking a channel during the time required for sending/receiving data. Some commands like Camera images retrieval, 'xxxWaitComplete' sensor functions or Sleep/Wait functions can lock the channel during a long time. If your application is using a lot of threads, you should increase the number of Connection's TCP channels.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!