标签: java android server client
如果我在与服务器相同的设备上运行客户端,我必须使用哪个地址来创建客户端。
Client client=new Client(something,port); ^ | What has to stay there
我试过" localhost"和" 10.0.2.2"但它没有用