This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / ClassLibrary / ServerSocketJava.java
diff --git a/Robust/src/ClassLibrary/ServerSocketJava.java b/Robust/src/ClassLibrary/ServerSocketJava.java
deleted file mode 100644 (file)
index 1cf07f2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-public class ServerSocket {
-  /* File Descriptor */
-  int fd;
-
-  private native int createSocket(int port);
-
-  public ServerSocket(int port) {
-    this.fd=createSocket(port);
-  }
-
-  public Socket accept() {
-    Socket s=new Socket();
-    int newfd=nativeaccept(s);
-    s.setFD(newfd);
-    return s;
-  }
-
-  /* Lets caller pass in their own Socket object. */
-  public void accept(Socket s) {
-    int newfd=nativeaccept(s);
-    s.setFD(newfd);
-  }
-
-  private native int nativeaccept(Socket s);
-
-  public void close();
-
-}