请我的异步c#服务器套接字从Java客户端套接字接收数据,但发送数据后未收到响应 Java
@override
public void run()
try{
inetaddress=InetAddress.getByName(" my PC IP address");
socket=new Socket(inetaddress,port);
DataOutputStream dat=new DataOutputStream(socket.getOutputStream());
BufferedReader buff= new BufferedReader(new InputStreamReader(socket.getInputStream());
dat.writeBytes("hello world");
while((buff.readLine())!=null)
Edittextcontrol.append(buff.readLine());
}