Skip to content

TCP Connection takes approx 250ms to get client.available() response on Teensy 4.1 #72

Answered by ssilverman
mantisrobot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, Matt. Thanks for using the QNEthernet library. It’s likely that data is getting buffered and not being sent right away. Note that I’m assuming that you’re expecting a response to data being sent out the connection. This section of the Readme may help: https://github.com/ssilverman/QNEthernet/blob/master/README.md#write-immediacy

Try calling flush() after sending data that needs to be immediately sent.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ssilverman
Comment options

You must be logged in to vote
3 replies
@ssilverman
Comment options

@mantisrobot
Comment options

@ssilverman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants