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

Side by Side Diff: native_client_sdk/src/doc/faq.rst

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
OLDNEW
1 ########################## 1 ##########################
2 Frequently Asked Questions 2 Frequently Asked Questions
3 ########################## 3 ##########################
4 4
5 .. contents:: 5 .. contents::
6 :local: 6 :local:
7 :backlinks: none 7 :backlinks: none
8 :depth: 2 8 :depth: 2
9 9
10 This document answers some frequently asked questions about Native 10 This document answers some frequently asked questions about Native
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 In most cases you won't have to rewrite much, if any, code. The Native 486 In most cases you won't have to rewrite much, if any, code. The Native
487 Client-specific tools, such as ``pnacl-clang++`` or ``x86_64-nacl-g++``, 487 Client-specific tools, such as ``pnacl-clang++`` or ``x86_64-nacl-g++``,
488 take care of most of the necessary changes. You may need to make some 488 take care of most of the necessary changes. You may need to make some
489 changes to your operating system calls and interactions with external 489 changes to your operating system calls and interactions with external
490 devices to work with the web. Porting existing Linux libraries is 490 devices to work with the web. Porting existing Linux libraries is
491 generally straightforward, with large libraries often requiring no 491 generally straightforward, with large libraries often requiring no
492 source change. 492 source change.
493 493
494 The following kinds of code may be more challenging to port: 494 The following kinds of code may be more challenging to port:
495 495
496 * Code that does direct `TCP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ or 496 * Code that does direct `TCP <pepper_stable/cpp/classpp_1_1_t_c_p_socket>`_ or
497 `UDP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ networking. For security 497 `UDP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ networking. For security
498 reasons these APIs are only available to `packaged applications 498 reasons these APIs are only available to `packaged applications
499 </apps/about_apps>`_ after asking for the appropriate permissions, not on the 499 </apps/about_apps>`_ after asking for the appropriate permissions, not on the
500 open web. Native Client is otherwise restricted to the networking APIs 500 open web. Native Client is otherwise restricted to the networking APIs
501 available in the browser. You may want to use to `nacl_io library <nacl_io>`_ 501 available in the browser. You may want to use to `nacl_io library <nacl_io>`_
502 to use POSIX-like sockets. 502 to use POSIX-like sockets.
503 * Code that creates processes, including UNIX ``fork``, won't function 503 * Code that creates processes, including UNIX ``fork``, won't function
504 as-is. However, threads are supported. You can nonetheless create new 504 as-is. However, threads are supported. You can nonetheless create new
505 ``<embed>`` tags in your HTML page to launch new PNaCl processes, even using 505 ``<embed>`` tags in your HTML page to launch new PNaCl processes, even using
506 new ``.pexe`` files that your existing ``.pexe`` saved in a local 506 new ``.pexe`` files that your existing ``.pexe`` saved in a local
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 .. _Rust: http://www.rust-lang.org/ 588 .. _Rust: http://www.rust-lang.org/
589 .. _Go: https://golang.org 589 .. _Go: https://golang.org
590 .. _native-client-discuss: https://groups.google.com/group/native-client-discuss 590 .. _native-client-discuss: https://groups.google.com/group/native-client-discuss
591 .. _deprecated in Chrome: http://blog.chromium.org/2013/09/saying-goodbye-to-our -old-friend-npapi.html 591 .. _deprecated in Chrome: http://blog.chromium.org/2013/09/saying-goodbye-to-our -old-friend-npapi.html
592 .. _OpenGL ES 2.0: https://www.khronos.org/opengles/ 592 .. _OpenGL ES 2.0: https://www.khronos.org/opengles/
593 .. _GLES2 file: https://code.google.com/p/chromium/codesearch#chromium/src/ppapi /lib/gl/gles2/gles2.c 593 .. _GLES2 file: https://code.google.com/p/chromium/codesearch#chromium/src/ppapi /lib/gl/gles2/gles2.c
594 .. _Google Chrome privacy policy: https://www.google.com/chrome/intl/en/privacy. html 594 .. _Google Chrome privacy policy: https://www.google.com/chrome/intl/en/privacy. html
595 .. _Google Chrome Terms of Service: https://www.google.com/chrome/intl/en/eula_t ext.html 595 .. _Google Chrome Terms of Service: https://www.google.com/chrome/intl/en/eula_t ext.html
596 .. _naclports: https://code.google.com/p/naclports 596 .. _naclports: https://code.google.com/p/naclports
597 .. _CORS: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing 597 .. _CORS: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/sdk/examples.html ('k') | native_client_sdk/src/doc/sdk/examples.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698