程序就崩潰在Socket s=new Socket(ip,port); 這句,我是用安卓做與pc通訊的客戶端,崩潰前logcat如下
[getaddrinfo]: hostname=192.168.0.104; servname=(null); cache_mode=(null), netid=0; mark=0
[getaddrinfo]: ai_addrlen=0 ai_canonname=(null); ai_flags=4; ai_family=0
FATAL EXCEPTION: main
沒看懂啊,請求解答一下
http://blog.csdn.net/i_lovefish/article/details/17719081