RC
Dependents: WizFi250_AP_HelloWorld
Fork of WizFi250Interface by
Diff: WizFi250/WizFi250_sock.cpp
- Revision:
- 9:12ecb377f63f
- Parent:
- 0:f2039204c8f6
- Child:
- 12:bb8e979df6df
diff -r 431172d536ee -r 12ecb377f63f WizFi250/WizFi250_sock.cpp --- a/WizFi250/WizFi250_sock.cpp Fri Nov 14 16:53:10 2014 +0900 +++ b/WizFi250/WizFi250_sock.cpp Fri Jun 19 15:34:40 2015 +0900 @@ -69,6 +69,8 @@ if( cmdSCON( "O","UCN",ip, remotePort, localPort, "0" ) ) return -1; } if(_state.cid < 0) return -1; + + initCon(_state.cid, true); cid = _state.cid; _con[cid].protocol = proto; _con[cid].type = TYPE_CLIENT;