## client_server

This service makes it possible to initialize a TCP/IP client or server on Android.

Request this service in link:https://castle-engine.io/project_manifest[CastleEngineManifest.xml] like this:

[source,xml]
----
<?xml version="1.0" encoding="utf-8"?>
<project name="..." game_units="...">
  <android>
    <services>
      <service name="client_server" />
    </services>
  </android>
</project>
----

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].
