Skip to content

Commit

Permalink
Added TCP client example
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Ritzl committed Jul 27, 2017
1 parent 35f9abd commit 13a4f93
Show file tree
Hide file tree
Showing 4 changed files with 546 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/tcp_client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TCP client example
This example shows how to create a TCP client and send and receive TCP data.
37 changes: 37 additions & 0 deletions examples/tcp_client/tcp_client.collection
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "tcp_client"
scale_along_z: 0
embedded_instances {
id: "go"
data: "components {\n"
" id: \"gui\"\n"
" component: \"/examples/tcp_client/tcp_client.gui\"\n"
" position {\n"
" x: 0.0\n"
" y: 0.0\n"
" z: 0.0\n"
" }\n"
" rotation {\n"
" x: 0.0\n"
" y: 0.0\n"
" z: 0.0\n"
" w: 1.0\n"
" }\n"
"}\n"
""
position {
x: 640.0
y: 360.0
z: 0.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale3 {
x: 1.0
y: 1.0
z: 1.0
}
}
Loading

0 comments on commit 13a4f93

Please sign in to comment.