public class LoginClient {
public static void main(String[] args) throws Exception
{
Socket s = new Socket("192.168.1.254",10008);
//读取键盘录入的数据,,这里是定义输入流,,,
BufferedReader bufr =
new BufferedReader(new InputStreamReader(System.in));
//发送数据到服务器,把读取到的键盘数据发到服务器里,,,定义一个输出流
PrintWriter out = new PrintWriter(s.getOutputStream(),true);
//客户端读取服务器返回来的信息
BufferedReader bufIn =
new BufferedReader(new InputStreamReader(s.getInputStream()));
for(int x=0; x<3; x++)
{
//读取键盘录入的数据
String line = bufr.readLine();