Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.IOException;
- import java.io.ObjectOutputStream;
- public class RunClient {
- public static void main(String[] args) throws IOException {
- Client client = new Client("localhost");
- ObjectOutputStream out = client.getOut();
- out.writeObject("client sending");
- out.flush();
- CommandListener cl = client.getCL();
- cl.run();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement