TCP server cant be connected to in a C++ project

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

TCP server cant be connected to in a C++ project

734件の閲覧回数
nasihs
Contributor I

Hello

I'm using MCUXpresso IDE v11.5 and RT1062

I wrote a TCP server application using socket API, based on a tcpecho example and everything was fine.

But after migrating the tcp server source code to a new C++ project, I cant connect to the server with a tcp client. 

However, the tcpecho example which uses netconn API in the project still works, which suggests the tcp stack and PHY are ok.

What's the difference between netconn api and socket api under a C++ project?

How can I solve this problem?  Any attention is appreciated.

ラベル(1)
タグ(1)
0 件の賞賛
返信
0 返答(返信)