FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix for Network library GET example · JEphron/processing@d21cbe0 · GitHub

Repository navigation

Commit d21cbe0

Browse files
committed
Fix for Network library GET example
1 parent 9740d9e commit d21cbe0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎java/libraries/net/examples/HTTPClient/HTTPClient.pde‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void setup() {
2121
size(200, 200);
2222
background(50);
2323
fill(200);
24-
c = new Client(this, "www.processing.org", 80); // Connect to server on port 80
24+
c = new Client(this, "www.ucla.edu", 80); // Connect to server on port 80
2525
c.write("GET / HTTP/1.0\r\n"); // Use the HTTP "GET" command to ask for a Web page
2626
c.write("\r\n");
2727
}
@@ -31,5 +31,4 @@ void draw() {
3131
data = c.readString(); // ...then grab it and print it
3232
println(data);
3333
}
34-
}
35-
34+
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL