Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

CC3200 : How to reduce TCP Connect Timeout when there's no internet?

$
0
0

Hello,

 

In the case there's no internet and I'm trying to connect to a TCP Server on the CC3200 using the following statement

tcp.connect(remote_ip, remote_port)    // WiFiClient.connect

My program hangs for 30 SECONDS on the above statement.

 

Is there a library file where I can reduce this timeout to something more reasonable like 5 seconds?

 

Thanks!


Viewing all articles
Browse latest Browse all 2077

Trending Articles