SocketConnection
Manages a Java Socket connection. Written originally for a network game where both client and server programs were massively multi-threaded. Given an active Socket, the program keeps writes from multiple threads organized and makes read data available on a dedicated thread. Thoroughly Javadoc'ed. Code deals with the threads needed to use a socket as well as the threads that may want to write to the socket simultaneously. Provides a thread to read from the socket. Gracefully handles the many problems and failures than can beset socket connections. Useful as is and can serve as a good example of programming with sockets. A test program is provided that establishes a connection and feeds data both ways.
Visit publisher site: SocketConnectionListing Details
- Version:
- 1.0.0
- Filed in:
-
Scripts / Java / JSP & Servlets / Miscellaneous
- Submitted on:
- Last Updated:
- Sep 11, 2011
- Publisher:
- Ralph Chapin Other listings by this publisher
License & Pricing Information
- License Type:
- Other
- Price:
- $0.00 USD
- Additional Info:
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for SocketConnection