Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- sc = new Socket(this.host, this.puerto);
- in = new DataInputStream(sc.getInputStream());
- out = new DataOutputStream(sc.getOutputStream());
- out.writeUTF(PedirUsuario());
- sc.close();
- } catch (IOException ex) {
- Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement