connect and disconnect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

connect and disconnect

ソリューションへジャンプ
989件の閲覧回数
jonasb
Contributor I

I wan't the board to auto connect to a server. Then he try's to autoconnect to the server for 18 times.

Then he gives an error that there is no memory left. I was searching and i
found he did an alloc. So he makes a reservation for some memory 18
times. I think i have to do something with free my memory. I found
something like TCB_FREE. I tried somethings but i still get acces
error.

 

another question:

How do I try to restart connection (sync) when the connection is closed by the server? The board seems to block.

And I have no clue how to solve it. 

 

Please help me

ラベル(1)
0 件の賞賛
1 解決策
305件の閲覧回数
jdog
Contributor I

you just have to work with m_delsocket(so) but you have to place this code somewhere where the socket is not used any more then you can delete it else you will get a acces error.

 

I think you have to place it somewhere in tcpapi.c

元の投稿で解決策を見る

0 件の賞賛
1 返信
306件の閲覧回数
jdog
Contributor I

you just have to work with m_delsocket(so) but you have to place this code somewhere where the socket is not used any more then you can delete it else you will get a acces error.

 

I think you have to place it somewhere in tcpapi.c

0 件の賞賛