forked from JetBrains/kotlin-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# OpenGL application | ||
|
||
This example shows interaction with OpenGL library, to render classical 3D test model. | ||
|
||
To build use `./build.sh` script without arguments (or specify `TARGET` variable if cross-compiling). | ||
|
||
To run use | ||
|
||
./OpenGlTeapot.kexe | ||
|
||
It will render 3D model of teapot. Feel free to experiment with it, the whole power of OpenGL | ||
is at your hands. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Sockets demo | ||
|
||
Compile the echo server (in EAP only supported on Mac host): | ||
|
||
./build.sh | ||
|
||
Run the server: | ||
|
||
./EchoServer.kexe 3000 & | ||
|
||
Test the server by conecting to it, for example with telnet: | ||
|
||
telnet localhost 3000 | ||
|
||
Write something to console and watch server echoing it back. | ||
|
||
~~Quit telnet by pressing ctrl+] ctrl+D~~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters