Send and receive TCP packages

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

Send and receive TCP packages

596件の閲覧回数
PEGE
Contributor I

Hello,

 

I am using a mcf52xx and i am trying to send and receive TCP packages between my evb and my PC. The PC is running a server on port 4444, and my controller includes the fnet TCP/IP stack. Now I am looking for a tutorial or some information about the steps I have to do.

 

Especially the creating of a new socket is my problem.

 

Is it possible to use interrupts if the µc receive a TCP package ?

 

Friendly regards peter

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

377件の閲覧回数
butok
NXP Employee
NXP Employee

Hi Peter,

 

>> Is it possible to use interrupts if the µc receive a TCP package ?

 

Yes. FNET does not use the HW blocking of interrupts.

So it perfectly coexists with Real Time applications.

 

>>Now I am looking for a tutorial or some information about the steps I have to do.

 

FNET uses socket approach. There is a lot of information “how to use sockets” on Internet.

I suggest using the FNET-services (client/server) source code and demo-projects, as a tutorial/reference.

 

Thanks,

Andrey Butok

0 件の賞賛
返信