lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] A new users request for help with sending TCP Packets o


From: Sergio R. Caprile
Subject: Re: [lwip-users] A new users request for help with sending TCP Packets on Demand
Date: Fri, 16 Jun 2017 09:38:19 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

You need to read about two things. Perhaps three.
One is TCP, and connection oriented protocols. Before sending you need to establish a connection, you can't send to iwishsomeoneisthere like UDP, which is a connection-less protocol. TCP is just like a phone call before voice mail was invented. No answer = no message.
You are not waiting for the connection to take place.
The second thing is the docs, or the wiki, where you'll find examples on how to do things properly. You could also see other examples looking at the apps and/or the contrib tree.
http://lwip.wikia.com/wiki/Raw/TCP
You'll see that you need a state machine or a similar functionality.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]