Send and receive TCP packages

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Send and receive TCP packages

597 次查看
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 回复

378 次查看
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 项奖励
回复