Código
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sockets_talk; /** * * @author Mapers */ import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class Servidor { public static final int puerto = 9999; try { S=SS.accept(); Talk talk = new Talk(S, "Servidor"); talk.hablar(); S.close(); SS.close(); e.printStackTrace(); } } }
el error me sale justo
Código