OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- | 3 <!-- |
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 <head> | 8 <head> |
9 <meta http-equiv="Pragma" content="no-cache"> | 9 <meta http-equiv="Pragma" content="no-cache"> |
10 <meta http-equiv="Expires" content="-1"> | 10 <meta http-equiv="Expires" content="-1"> |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 <div class="function" id="getcwd" hidden> | 177 <div class="function" id="getcwd" hidden> |
178 <span> | 178 <span> |
179 <button>getcwd</button> | 179 <button>getcwd</button> |
180 </span> | 180 </span> |
181 </div> | 181 </div> |
182 <hr> | 182 <hr> |
183 <p><b>Socket Operations:</b></p> | 183 <p><b>Socket Operations:</b></p> |
184 <div> | 184 <div> |
185 <span> | 185 <span> |
186 <input type="radio" id="radiogethostbyname" name="group">gethostbyname | 186 <input type="radio" id="radiogethostbyname" name="group">gethostbyname |
| 187 <input type="radio" id="radiogetaddrinfo" name="group">getaddrinfo |
187 <input type="radio" id="radioconnect" name="group">connect | 188 <input type="radio" id="radioconnect" name="group">connect |
188 <input type="radio" id="radiosend" name="group">send | 189 <input type="radio" id="radiosend" name="group">send |
189 <input type="radio" id="radiorecv" name="group">recv | 190 <input type="radio" id="radiorecv" name="group">recv |
190 <input type="radio" id="radioclose" name="group">close | 191 <input type="radio" id="radioclose" name="group">close |
191 </span> | 192 </span> |
192 </div> | 193 </div> |
193 <div class="function" id="gethostbyname" hidden> | 194 <div class="function" id="gethostbyname" hidden> |
194 <span> | 195 <span> |
195 Hostname: | 196 Hostname: |
196 <input type="text" id="gethostbynameName" value="google.com"> | 197 <input type="text" id="gethostbynameName" value="google.com"> |
197 <button>gethostbyname</button> | 198 <button>gethostbyname</button> |
198 </span> | 199 </span> |
199 </div> | 200 </div> |
| 201 <div class="function" id="getaddrinfo" hidden> |
| 202 <span> |
| 203 Hostname: |
| 204 <input type="text" id="getaddrinfoName" value="google.com"> |
| 205 <select id="getaddrinfoFamily"> |
| 206 <option>AF_INET</option> |
| 207 <option>AF_INET6</option> |
| 208 <option>AF_UNSPEC</option> |
| 209 </select> |
| 210 <button>getaddrinfo</button> |
| 211 </span> |
| 212 </div> |
200 <div class="function" id="connect" hidden> | 213 <div class="function" id="connect" hidden> |
201 <span> | 214 <span> |
202 Host: | 215 Host: |
203 <input type="text" id="connectHost" value="google.com"> | 216 <input type="text" id="connectHost" value="google.com"> |
204 Port: | 217 Port: |
205 <input type="text" id="connectPort" value="80"> | 218 <input type="text" id="connectPort" value="80"> |
206 <button>connect</button> | 219 <button>connect</button> |
207 </span> | 220 </span> |
208 </div> | 221 </div> |
209 <div class="function" id="send" hidden> | 222 <div class="function" id="send" hidden> |
(...skipping 20 matching lines...) Expand all Loading... |
230 </div> | 243 </div> |
231 | 244 |
232 <hr> | 245 <hr> |
233 <p><b>Log:</b></p> | 246 <p><b>Log:</b></p> |
234 <pre id="log" style="font-weight: bold"></pre> | 247 <pre id="log" style="font-weight: bold"></pre> |
235 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 248 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
236 See common.js.--> | 249 See common.js.--> |
237 <div id="listener"></div> | 250 <div id="listener"></div> |
238 </body> | 251 </body> |
239 </html> | 252 </html> |
OLD | NEW |