Send and receive TCP packages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Send and receive TCP packages

464 Views
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

Labels (1)
0 Kudos
1 Reply

245 Views
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 Kudos