public class OutStream extends ServletOutputStream
{
Socket Connect;
OutputStream Stream;
public OutStream(Socket connect) throws IOException
{
Connect = connect;
Stream = Connect.getOutputStream();
}
public void write(int b) throws IOException
{ // abstrakte Methode von OutputStream
Stream.write(b);
}
public void close() throws IOException
{ // schliessen der Verbindung
Connect.close();
}
}