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: |