Re: Null socket After opening and closing 18 new socket
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]> Tue, 01 Jun 2004 12:28:12 -0500
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Kiese Mukana wrote: > I am trying to set up a communication between Tini and an HTLM page running on a PC. I have an applet downloaded from TINI an running with the HTLM page. The applet sends an update command to TINI. Currently all TINI does is send back its time. After sending 18 time update, I get an IOException (null) when opening an new socket. Does anyone know what I should do. Do I have to set some parameters for the socket? It sounds like you are running up against the 24 socket limitation in TINI. Make sure that you are closing all sockets, no matter what path the code takes. Usually, this means using try/catch/finally so that socket.close() is always executed. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini