https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

Kumar

02/27/2023, 10:38 AM
HI Team,
This is Kumar, I am a KMM developer. I am trying to integrate Ktor network framework in commonMain/iosMain with in my project.
These are the use cases:
1) Connect Ktor network library with server socket - success
2) Authenticate with server socket - success
3) After authentication I am trying to send some data to server socket.
Problem : Here socket closing at client side.
I am unable to create global instance for aSocket()
Please help me how to create socket global in client side.
4 Views