# Processing.net questions using Client / Server

**URL:** <https://discourse.processing.org/t/processing-net-questions-using-client-server/33860>\
**Category:** Libraries\
**Created:** [December 1, 2021, 1:40pm UTC](https://discourse.processing.org/t/processing-net-questions-using-client-server/33860 "2021-12-01T13:40:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yodan](https://avatars.discourse-cdn.com/v4/letter/y/f04885/32.png) [@yodan](https://discourse.processing.org/u/yodan)\
**Post date:** [December 1, 2021, 1:40pm UTC](https://discourse.processing.org/t/processing-net-questions-using-client-server/33860/1 "2021-12-01T13:40:34Z")

</div>

Two clarifying questions regarding the [processing.net](http://processing.net) library:

1. When I use the Client constructor is there a way to control the timeout variable? The default is about 10-15s before it throws a timed out exception which can be a bit overkill.
2. Also is there a way to catch the exceptions thrown using the Client constructor? I don’t understand why they would remove this possibility in the Processing library so perhaps I’m missing something obvious.

If I can’t resolve these I’ll have to default to the [java.net](http://java.net) library but either way wanted to start a discussion about this.

---

<div class="post-metadata">

**Author:** ![yodan](https://avatars.discourse-cdn.com/v4/letter/y/f04885/32.png) [@yodan](https://discourse.processing.org/u/yodan)\
**Post date:** [December 1, 2021, 2:57pm UTC](https://discourse.processing.org/t/processing-net-questions-using-client-server/33860/2 "2021-12-01T14:57:56Z")

</div>

To answer my own Q1 in case others see this in the future: I ran the client constructor in a thread and after delay(thePingTimeoutIWanted) I interrupted it.
