How do you close a connection or clear the buffer?
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
How do you close a net.createConnection(net.TCP, 0) HTTP client connection?
I am trying to access one web page and then another but the buffer is filling up. I want to close the first connection and free the buffer before opening the second one.
In the API I can see there are ways to close a server or MQTT connection but can't see anything for a HTTP client.
Thanks,
Mike
I am trying to access one web page and then another but the buffer is filling up. I want to close the first connection and free the buffer before opening the second one.
In the API I can see there are ways to close a server or MQTT connection but can't see anything for a HTTP client.
Thanks,
Mike