Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: native_client_sdk/src/examples/demo/nacl_io/index.html

Issue 99933002: [NaCl SDK] nacl_io: implement getaddrinfo() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/examples/demo/nacl_io/index.html
diff --git a/native_client_sdk/src/examples/demo/nacl_io/index.html b/native_client_sdk/src/examples/demo/nacl_io/index.html
index 5da0c4faac5fe027557349fc08c7d1085f58ea1b..a0893557a068e0be166ec4f546883f17a55c28d9 100644
--- a/native_client_sdk/src/examples/demo/nacl_io/index.html
+++ b/native_client_sdk/src/examples/demo/nacl_io/index.html
@@ -184,6 +184,7 @@ found in the LICENSE file.
<div>
<span>
<input type="radio" id="radiogethostbyname" name="group">gethostbyname
+ <input type="radio" id="radiogetaddrinfo" name="group">getaddrinfo
<input type="radio" id="radioconnect" name="group">connect
<input type="radio" id="radiosend" name="group">send
<input type="radio" id="radiorecv" name="group">recv
@@ -197,6 +198,18 @@ found in the LICENSE file.
<button>gethostbyname</button>
</span>
</div>
+ <div class="function" id="getaddrinfo" hidden>
+ <span>
+ Hostname:
+ <input type="text" id="getaddrinfoName" value="google.com">
+ <select id="getaddrinfoFamily">
+ <option>AF_INET</option>
+ <option>AF_INET6</option>
+ <option>AF_UNSPEC</option>
+ </select>
+ <button>getaddrinfo</button>
+ </span>
+ </div>
<div class="function" id="connect" hidden>
<span>
Host:
« no previous file with comments | « native_client_sdk/src/examples/demo/nacl_io/handlers.c ('k') | native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698