Index: chrome/common/extensions/docs/templates/articles/app_network.html |
=================================================================== |
--- chrome/common/extensions/docs/templates/articles/app_network.html (revision 159603) |
+++ chrome/common/extensions/docs/templates/articles/app_network.html (working copy) |
@@ -40,7 +40,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: |
@@ -61,7 +61,7 @@ |
chrome.socket.write(socketId, arrayBuffer, onWriteCompleteCallback); |
</pre> |
-<h3>Reading to and 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. |
@@ -75,7 +75,7 @@ |
}); |
</pre> |
-<h3>Disconnecting from a socket</h3> |
+<h3 id="disconnecting">Disconnecting from a socket</h3> |
<p>Here's how to disconnect:</p> |
@@ -87,7 +87,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 |
@@ -112,7 +112,7 @@ |
); |
</pre> |
-<h3>Receiving data</h3> |
+<h3 id="receiving">Receiving data</h3> |
<p> |
This example is very similar to the 'Sending data' example |
@@ -146,4 +146,4 @@ |
); |
</pre> |
-<p class="backtotop"><a href="#top">Back to top</a></p> |
+<p class="backtotop"><a href="#top">Back to top</a></p> |