Open con247 opened 6 years ago
Hey! Hi,
I'm very interested in a TCP server as well, have you got any improvement on this?
I'm stuck with TCP Sequence and Acknowledgment Numbers and that kind of stuff...
Best regards, Ricardo.
I was trying to use this as a PoC for something at work, but I left the company shortly after this posting, so I didn't pursue it any further. I hope you figure out what you need!
Hi,
The udpListener sample is exactly what I need for my project (just sending text via UDP then processing it in a function). Is there a sample or any instructions on how to do the same with TCP? I have tried the code below to print a TCP packet sent to port 80 with the modified code below, however it prints the contents to the serial monitor multiple times and sends back TCP responses each time. I am using https://packetsender.com/ to send a packet. How can I setup the code so that I can send a packet to a selectable TCP port and just print the contents like the udpListener?
Note: I re-arranged the code below so that "my" code was at the top for easier visability. The setup routine, etc, are in the same order as the sample udpListener.ino. Thanks in advance for any direction.