TCP Communication: Teensy 4.1 and Raspberry Pi

Status
Not open for further replies.
Hello,

I would also like to investigate how to upgrade my Ethernet protocol from UDP to TCP communication. I am currently sending UDP packets from a Teensy 4.1 to a Raspberry Pi 4B. Is there any example code you could point out to me to get started with TCP?

Thank you,
Hannah
 
Assuming you're using arduino ide

File->Examples->Ethernet

has a bunch of examples. Obviously, you're not interested in the UDP examples, the ones with UDP at the start of the name.
 
Do you have any examples of how to receive the TCP connection on the Raspberry PI? I'm still having trouble getting a TCP connection between the two....

Would you recommend AdvancedChatServer as the example code?

Thanks,
Hannah
 
Status
Not open for further replies.
Back
Top