Skip to content

Commit 504661a

Browse files
committed
Changes to the Network Library reference, add active()
1 parent 26bb11a commit 504661a

20 files changed

+54
-33
lines changed

content/api_en/LIB_net/Client.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<image></image>
1313
<code><![CDATA[
1414
import processing.net.*;
15+
1516
Client myClient;
1617
int dataIn;
1718
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<root>
3+
4+
<name>active()</name>
5+
6+
<category>Client</category>
7+
8+
<subcategory>Client</subcategory>
9+
10+
<usage>Application</usage>
11+
12+
<example>
13+
<image></image>
14+
<code><![CDATA[
15+
TK
16+
17+
]]></code>
18+
</example>
19+
20+
<description><![CDATA[
21+
Returns the number of bytes available. When any client has bytes available from the server, it returns the number of bytes.
22+
]]></description>
23+
24+
25+
</root>

content/api_en/LIB_net/Client_clear.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
// Creates a client that listens for input until it gets a
1816
// linefeed and then throws the rest of the input away.
1917

content/api_en/LIB_net/Client_ip.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
import processing.net.*;
1816
Client myClient;
1917

content/api_en/LIB_net/Client_read.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
import processing.net.*;
1816
Client myClient;
1917
int dataIn;

content/api_en/LIB_net/Client_readBytes.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
// Creates a client that listens for input and puts
1816
// the bytes it gets into a byte[] buffer.
1917

content/api_en/LIB_net/Client_readBytesUntil.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
// Creates a client that listens for input
1816
// until it gets a linefeed character, and puts
1917
// the bytes it gets into a byte[] buffer.

content/api_en/LIB_net/Client_readChar.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
import processing.net.*;
1816
Client myClient;
1917
char charIn;

content/api_en/LIB_net/Client_readString.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
import processing.net.*;
1816
Client myClient;
1917
String inString;

content/api_en/LIB_net/Client_readStringUntil.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<example>
1313
<image></image>
1414
<code><![CDATA[
15-
// Example by Tom Igoe
16-
1715
// Creates a client that listens for input until it
1816
// gets a linefeed character,and puts the bytes it gets
1917
// into a byte[] buffer.

0 commit comments

Comments
 (0)