Check for an open connection
in
Programming Questions
•
1 year ago
I am trying to check if a connection is already open in my sketch with the
java function isOpen():
- if (connection.isOpen() == true)
But processing returns an error: "the function isOpen() does not exist". Is there an equivalent for isOpen() in processing? (I am checking for an open connection because i don't want to unneccessarily open a new connection).
(Or is it not neccessary to check for already opened connections (and close open connections) in processing?)
(Or is it not neccessary to check for already opened connections (and close open connections) in processing?)
1