Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Hmm...

Name: Anonymous 2007-11-06 8:54

It isn't quite...ENTERPRISE enough...

import java.io.*;
import java.net.*;


public class PortListener extends Thread
{
  public static void main(String[] args) throws Exception
  {
    ServerSocket serverSocket = new ServerSocket(Integer.parseInt(args[0]));
    Socket inSocket = serverSocket.accept();

    BufferedReader in = new BufferedReader(new InputStreamReader(inSocket.getInputStream()));

    while (true)
    {
      while (in.ready())
        System.out.println(in.readLine());
      sleep(500);
    }
  }
}

Name: Anonymous 2007-11-06 10:09

http://theocacao.com/document.page/510
Movie* newMovie = [Movie movie];

Name: Anonymous 2007-11-06 21:40

import java.io.*;
import java.net.*;


public class PortListener
{
  public static void main(String[] args) throws Exception
  {
    int iOnePort = args[1];
    int iTwoPort = args[1];
    InetAddress twoAddress = InetAddress.getByName(args[0]);

    ServerSocket oneServerSocket = new ServerSocket(iOnePort);
    Socket oneSocket = oneServerSocket.accept();
    Socket twoSocket = new Socket(twoAddress, iTwoPort);

    BufferedReader oneIn = new BufferedReader(new InputStreamReader(oneSocket
        .getInputStream()));
    BufferedReader twoIn = new BufferedReader(new InputStreamReader(twoSocket
        .getInputStream()));
    PrintWriter oneOut = new PrintWriter(oneSocket.getOutputStream(), true);
    PrintWriter twoOut = new PrintWriter(twoSocket.getOutputStream(), true);

    System.out.println(oneServerSocket.toString());
    System.out.println(oneSocket.toString());
    System.out.println(twoSocket.toString());

    while (true)
    {
      while (oneIn.ready())
      {
        String s = oneIn.readLine();
        System.out.println(s);
        twoOut.println(s);
      }
      while (twoIn.ready())
      {
        String s = twoIn.readLine();
        System.err.println(s);
        oneOut.println(s);
      }
      Thread.sleep(500);
    }
  }
}

Name: Anonymous 2007-11-06 22:14

>>2
obj-c is actually quite rad, that's just a shitty enterprise example.

Name: Anonymous 2007-11-07 6:19

>>4
Macfag* newMacfag = [Macfag macfag];

Name: Anonymous 2007-11-07 7:04

Obj-C >>>> Java, C++, C# etc

Name: Anonymous 2007-11-07 7:39

Suddenly, metrosexual trendy Macfags
who used to have $5000
but spent it on a Mac
and their statutory iPod
They need to listen to podcasts and update their Web 2.0 blogs, being such important members of the blogosphere
They lost files copying them to their iPod because Leopard is as buggy as Windows
But it's buggy with class
so if you're going to lose data, you lose it with a slick style
About as slick as the $5000 they spent on their capped PC on which they run their locked in defective by design and by accident OS
Macfags are really cool

Name: Anonymous 2011-02-03 3:11

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List