Another thing to do us use a terminal program such as RealTerm or Tera Term
set up as either a TCP server or client and practice connecting to them
I have only used Tera Term in a client mode.
For Real term you have to do something that was not obvious to me at first.
Select the "Port" tab. Then in the Port dialog type "server:telnet" and this
will make a telnet serve on your computers port 23. You can set other
ports I believe with something like this "127.0.0.1:9876" for port 9876.
I found it helpful to use Wireshark with a filter for your sending and
receiving IP addresses. Here is a filter I used
(ip.src == 10.1.10.182 && ip.dst==10.1.10.235 ) || (ip.src == 10.1.10.235
My Windows host computer is 10.1.10.235 and our embedded LAN product is
Our embedded LAN is a Texas Instrument TM4C1294 and the TCP server is one of
the reference projects and uses LWIP.
It is a project called "enet_s2e" in the TivaWare_C_Series-220.127.116.11. That
example is no longer in the most recent TivaWare so you have to find the
Hope this helps and if so say what helped.
From: [hidden email] Sent: Sunday, November 17, 2019 12:00 PM
To: [hidden email] Subject: lwip-users Digest, Vol 195, Issue 17
Date: Sun, 17 Nov 2019 05:45:23 -0700 (MST)
From: Jamie <[hidden email]>
To: [hidden email] Subject: Re: [lwip-users] Minimal RAW TCP Client
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii
Thanks for your response (I've copied and pasted it below to ensure it's
part of this thread moving forward).
I was able to follow along with your code, thank you for sharing it.
At this stage it would be particularly helpful if anyone had any specific
lwIP code or advice as to how I should proceed. I will play with some
polling-based connection attempt approaches (using Lee's input as a
reference), but any additional guidance in the meantime would be greatly
> Hello I hope I am replying to this correctly or some one will tell me how.
> Regarding the TCP client development,
> I wrote both a server and client in Processing where I could rapidly
> them. I did it to help our development and test of an embedded product and
> the PC and Android applications that connect to and control our product
> through TCP socket. My two Processing creations allowed us to test each
> For client See my github at:
> https://github.com/ForrestErickson/Processing-ClientWithReconnect > This is the server:
> https://github.com/ForrestErickson/Processing-ServerComeAndGoes >
> You will have to read the code to see the keyboard commands to change
> status, but only if you want to.
> I hope this is of use and feel free to explain any confusion you have.
> If Processing does not intimidate you (it's super easy) I advise you start
> by running on one Windows PC both the server and client and play with
> Run them in any order and close in any order.
> (Forrest) Lee Erickson
> P.S. If I have one supper power it would be called novel spelling.