package iotrmi.Java; // Java libraries import java.io.*; import java.net.*; import java.awt.*; import java.util.*; import java.nio.ByteBuffer; import java.util.concurrent.Semaphore; /** Class IoTSocket is the basic class for IoT RMI * socket communication. This class will be extended * by both IoTSocketServer and IoTSocketClient *

* Adapted from Java/C++ socket implementation * by Keith Vertanen * @see