#I use nuvoton MCU. Firstly connect function return SOCKERR_TIMEOUT but then return SOCKERR_SOCKINIT. Why does it do this ?
socket(s,Sn_MR_TCP,8000,SF_TCP_NODELAY);
while(Baglan!=SOCK_OK){
Baglan=connect(s,serverIp,8000);
}
Baglan=0;
#I use nuvoton MCU. Firstly connect function return SOCKERR_TIMEOUT but then return SOCKERR_SOCKINIT. Why does it do this ?
socket(s,Sn_MR_TCP,8000,SF_TCP_NODELAY);
while(Baglan!=SOCK_OK){
Baglan=connect(s,serverIp,8000);
}
Baglan=0;
Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.