Personal tools
You are here: Home ブログ 井上 MS-WindowsのローカルIPアドレス、ブロードキャストアドレス、ネットマスクを取得するコード例
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Recent comments
AirOne v5.0.1出てしまいました inoue 2008-10-29
Re:Reversible debugging in GDB morita 2008-10-09
Re:Google Chromeの発表には驚きました inoue 2008-09-15
Re:Google Chromeの発表には驚きました Anonymous User 2008-09-10
Re:Windowsのタスクマネージャの闇 horii 2008-09-09
Re:Google Chromeの発表には驚きました inoue 2008-09-04
Re:Google Chromeの発表には驚きました inoue 2008-09-04
Re:Google Chromeの発表には驚きました inoue 2008-09-04
Re:Google Chromeの発表には驚きました Anonymous User 2008-09-03
Re:Software Design 2008年2月号「Emacsマスターへの道」の原稿を公開 elim 2008-07-25
Re:Rails(ActiveRecord)のJOINのイディオム inoue 2008-06-20
Re:「ピアレビュー」を読みました Anonymous User 2008-05-12
Categories
カテゴリなし
 
Document Actions

MS-WindowsのローカルIPアドレス、ブロードキャストアドレス、ネットマスクを取得するコード例

先日、GNU/LinuxのIPアドレス、ブロードキャストアドレス、ネットマスクを取得するコード例を書きました。

対称性のためにMS-Windowsのコード例も書きました。コードばかりで見栄えが悪いので、以下に書きました。

ちなみに、MS-Windowsでipconfigの出力をパースするコードを書こうとは思いません。MS-Windowsで、子プロセスを作って出力をパイプで読み取る処理が、信用できないからです。偏見かもしれませんが。

The URL to Trackback this entry is:
http://dev.ariel-networks.com/Members/inoue/windows-ipconfig/tbping
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)
(Required)
This helps us prevent automated spamming.
Captcha Image


Copyright(C) 2001 - 2006 Ariel Networks, Inc. All rights reserved.