| Index: chrome/common/extensions/docs/templates/articles/app_network.html
|
| ===================================================================
|
| --- chrome/common/extensions/docs/templates/articles/app_network.html (revision 159604)
|
| +++ chrome/common/extensions/docs/templates/articles/app_network.html (working copy)
|
| @@ -69,7 +69,7 @@
|
| Packaged apps can make connections to any service that supports TCP.
|
| </p>
|
|
|
| -<h3>Connecting to a socket</h3>
|
| +<h3 id="connecting">Connecting to a socket</h3>
|
|
|
| <p>
|
| Here's a sample showing how to connect to a socket:
|
| @@ -90,7 +90,7 @@
|
| chrome.socket.write(socketId, arrayBuffer, onWriteCompleteCallback);
|
| </pre>
|
|
|
| -<h3>Reading to & writing from a socket</h3>
|
| +<h3 id="reading">Reading to & writing from a socket</h3>
|
|
|
| <p>
|
| Reading and writing from a socket uses ArrayBuffer objects.
|
| @@ -104,7 +104,7 @@
|
| });
|
| </pre>
|
|
|
| -<h3>Disconnecting from a socket</h3>
|
| +<h3 id="disconnecting">Disconnecting from a socket</h3>
|
|
|
| <p>Here's how to disconnect:</p>
|
|
|
| @@ -116,7 +116,7 @@
|
| Packaged apps can make connections to any service that supports UDP.
|
| </p>
|
|
|
| -<h3>Sending data</h3>
|
| +<h3 id="sending">Sending data</h3>
|
|
|
| <p>
|
| Here's a sample showing how to send data
|
| @@ -141,7 +141,7 @@
|
| );
|
| </pre>
|
|
|
| -<h3>Receiving data</h3>
|
| +<h3 id="receiving">Receiving data</h3>
|
|
|
| <p>
|
| This example is very similar to the 'Sending data' example
|
| @@ -175,4 +175,4 @@
|
| );
|
| </pre>
|
|
|
| -<p class="backtotop"><a href="#top">Back to top</a></p>
|
| +<p class="backtotop"><a href="#top">Back to top</a></p>
|
|
|