createTAKServer

expect fun createTAKServer(dispatchers: CoroutineDispatchers, certificateStore: TakCertificateStore, port: Int = DEFAULT_TAK_PORT): TAKServer(source)

Platform factory for TAKServer. The JVM/Android implementation lives in jvmAndroidMain and uses JSSE (SSLServerSocket) with the per-install identity kept in certificateStore.

actual fun createTAKServer(dispatchers: CoroutineDispatchers, certificateStore: TakCertificateStore, port: Int): TAKServer(source)

actual factory for the KMP expect fun createTAKServer declared in commonMain. Both the Desktop JVM target and the Android target share this source set, so both run the same JSSE-based TLS listener backed by the per-install PKI kept in certificateStore.