Debian Codegraph @

tools/build-tool/data/android/integrated-services/client_server/README.adoc

raw
1 ## client_server
2
3 This service makes it possible to initialize a TCP/IP client or server on Android.
4
5 Request this service in link:https://castle-engine.io/project_manifest[CastleEngineManifest.xml] like this:
6
7 [source,xml]
8 ----
9 <?xml version="1.0" encoding="utf-8"?>
10 <project name="..." game_units="...">
11 <android>
12 <services>
13 <service name="client_server" />
14 </services>
15 </android>
16 </project>
17 ----
18
19 Then use https://castle-engine.io/apidoc/html/CastleClientServer.html[CastleClientServer] in your application. Examples how to use it are inside https://github.com/castle-engine/castle-engine/tree/master/examples/network/tcp_connection[Castle Game Engine examples/network/tcp_connection subdirectory].