Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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` -

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD