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

Side by Side Diff: native_client_sdk/doc_generated/faq.html

Issue 910983002: NaCl docs: fix TCP link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | native_client_sdk/doc_generated/sdk/examples.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="frequently-asked-questions"> 3 <section id="frequently-asked-questions">
4 <h1 id="frequently-asked-questions">Frequently Asked Questions</h1> 4 <h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
5 <div class="contents local" id="contents" style="display: none"> 5 <div class="contents local" id="contents" style="display: none">
6 <ul class="small-gap"> 6 <ul class="small-gap">
7 <li><p class="first"><a class="reference internal" href="#what-is-native-client- good-for" id="id1">What is Native Client Good For?</a></p> 7 <li><p class="first"><a class="reference internal" href="#what-is-native-client- good-for" id="id1">What is Native Client Good For?</a></p>
8 <ul class="small-gap"> 8 <ul class="small-gap">
9 <li><a class="reference internal" href="#why-did-google-build-native-client" id= "id2">Why did Google build Native Client?</a></li> 9 <li><a class="reference internal" href="#why-did-google-build-native-client" id= "id2">Why did Google build Native Client?</a></li>
10 <li><a class="reference internal" href="#when-should-i-use-portable-native-clien t-instead-of-native-client" id="id3">When should I use Portable Native Client in stead of Native Client?</a></li> 10 <li><a class="reference internal" href="#when-should-i-use-portable-native-clien t-instead-of-native-client" id="id3">When should I use Portable Native Client in stead of Native Client?</a></li>
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 <h3 id="how-easy-is-it-to-port-my-existing-native-code-to-native-client">How eas y is it to port my existing native code to Native Client?</h3> 412 <h3 id="how-easy-is-it-to-port-my-existing-native-code-to-native-client">How eas y is it to port my existing native code to Native Client?</h3>
413 <p>In most cases you won&#8217;t have to rewrite much, if any, code. The Native 413 <p>In most cases you won&#8217;t have to rewrite much, if any, code. The Native
414 Client-specific tools, such as <code>pnacl-clang++</code> or <code>x86_64-nacl-g ++</code>, 414 Client-specific tools, such as <code>pnacl-clang++</code> or <code>x86_64-nacl-g ++</code>,
415 take care of most of the necessary changes. You may need to make some 415 take care of most of the necessary changes. You may need to make some
416 changes to your operating system calls and interactions with external 416 changes to your operating system calls and interactions with external
417 devices to work with the web. Porting existing Linux libraries is 417 devices to work with the web. Porting existing Linux libraries is
418 generally straightforward, with large libraries often requiring no 418 generally straightforward, with large libraries often requiring no
419 source change.</p> 419 source change.</p>
420 <p>The following kinds of code may be more challenging to port:</p> 420 <p>The following kinds of code may be more challenging to port:</p>
421 <ul class="small-gap"> 421 <ul class="small-gap">
422 <li>Code that does direct <a class="reference external" href="pepper_stable/cpp/ classpp_1_1_u_d_p_socket">TCP</a> or 422 <li>Code that does direct <a class="reference external" href="pepper_stable/cpp/ classpp_1_1_t_c_p_socket">TCP</a> or
423 <a class="reference external" href="pepper_stable/cpp/classpp_1_1_u_d_p_socket"> UDP</a> networking. For security 423 <a class="reference external" href="pepper_stable/cpp/classpp_1_1_u_d_p_socket"> UDP</a> networking. For security
424 reasons these APIs are only available to <a class="reference external" href="/ap ps/about_apps">packaged applications</a> after asking for the appropriate permis sions, not on the 424 reasons these APIs are only available to <a class="reference external" href="/ap ps/about_apps">packaged applications</a> after asking for the appropriate permis sions, not on the
425 open web. Native Client is otherwise restricted to the networking APIs 425 open web. Native Client is otherwise restricted to the networking APIs
426 available in the browser. You may want to use to <a class="reference external" h ref="nacl_io">nacl_io library</a> 426 available in the browser. You may want to use to <a class="reference external" h ref="nacl_io">nacl_io library</a>
427 to use POSIX-like sockets.</li> 427 to use POSIX-like sockets.</li>
428 <li>Code that creates processes, including UNIX <code>fork</code>, won&#8217;t f unction 428 <li>Code that creates processes, including UNIX <code>fork</code>, won&#8217;t f unction
429 as-is. However, threads are supported. You can nonetheless create new 429 as-is. However, threads are supported. You can nonetheless create new
430 <code>&lt;embed&gt;</code> tags in your HTML page to launch new PNaCl processes, even using 430 <code>&lt;embed&gt;</code> tags in your HTML page to launch new PNaCl processes, even using
431 new <code>.pexe</code> files that your existing <code>.pexe</code> saved in a lo cal 431 new <code>.pexe</code> files that your existing <code>.pexe</code> saved in a lo cal
432 filesystem. This is somewhat akin to <code>execve</code>, but the process manage ment 432 filesystem. This is somewhat akin to <code>execve</code>, but the process manage ment
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 you&#8217;re loading the correct <code>.nexe</code> file by building a separate 485 you&#8217;re loading the correct <code>.nexe</code> file by building a separate
486 <code>.nexe</code> for each architecture, and using a <code>.nmf</code> manifest file to 486 <code>.nexe</code> for each architecture, and using a <code>.nmf</code> manifest file to
487 let the browser select the correct <code>.nexe</code> file. Note: the need to 487 let the browser select the correct <code>.nexe</code> file. Note: the need to
488 select a processor-specific <code>.nexe</code> goes away with Portable Native 488 select a processor-specific <code>.nexe</code> goes away with Portable Native
489 Client.</li> 489 Client.</li>
490 <li>If things still aren&#8217;t working, <a class="reference internal" href="/n ative-client/help.html"><em>ask for help</em></a>!</li> 490 <li>If things still aren&#8217;t working, <a class="reference internal" href="/n ative-client/help.html"><em>ask for help</em></a>!</li>
491 </ul> 491 </ul>
492 </section> 492 </section>
493 493
494 {{/partials.standard_nacl_article}} 494 {{/partials.standard_nacl_article}}
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/doc_generated/sdk/examples.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698