jif.net

## Class SocketUtil

- java.lang.Object
- - jif.net.SocketUtil

-     public class SocketUtil
      extends java.lang.Object

  This class provides some useful utilities for Jif programs using Java's sockets.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `acceptConnections(Label lbl, java.net.ServerSocket ss, SocketAcceptor a)` Listen to the ServerSocket, and pass any new connections to the SocketAcceptor, in a new thread.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### acceptConnections

          public static void acceptConnections(Label lbl,
                                               java.net.ServerSocket ss,
                                               SocketAcceptor a)

      Listen to the ServerSocket, and pass any new connections to the SocketAcceptor, in a new thread.
      Parameters:
        `ss` -
        `a` -