PTT
網頁版
登入/註冊
新聞
熱門文章
熱門看板
看板列表
作者查詢
最新文章
我的收藏
最近瀏覽
看板名稱查詢
批踢踢 PTT 搜尋引擎
看板
[
java
]
討論串
[問題] 請問關於Socket
共 2 篇文章
排序:
最新先
|
最舊先
|
留言數
|
推文總分
內容預覽:
開啟
|
關閉
|
只限未讀
首頁
上一頁
1
下一頁
尾頁
#2
Re: [問題] 請問關於Socket
推噓
0
(0推
0噓 0→
)
留言
0則,0人
參與
,
最新
作者
Banciao
(板橋是個好地方)
時間
15年前
發表
(2010/12/17 20:07)
,
編輯
資訊
0篇文章回應此文
0
內文有0個圖片
image
0
內文有0個連結
link
0
內容預覽:
yes. 因為你這幾行實際上都是呼叫 println(Object x) = println(x.toString())看本地端是用哪個 port 來連接這個 socketInetAddress ia = InetAddress.getLocalHost();. System.out.println
#1
[問題] 請問關於Socket
推噓
0
(0推
0噓 2→
)
留言
2則,0人
參與
,
最新
作者
polomoss
(小澤)
時間
15年前
發表
(2010/12/13 01:34)
,
編輯
資訊
0篇文章回應此文
0
內文有0個圖片
image
0
內文有0個連結
link
0
內容預覽:
getInetAddress. public InetAddress getInetAddress(). Returns the address to which the socket is connected.. Returns:. the remote IP address to which t
(還有964個字)
首頁
上一頁
1
下一頁
尾頁