ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
jvm
ktor-network
/
io.ktor.network.sockets
/
InetSocketAddress
/
copy
copy
jvmAndNix
jvm
expect
fun
copy
(
hostname
:
String
=
this.hostname
,
port
:
Int
=
this.port
)
:
InetSocketAddress
Create a copy of
InetSocketAddress
.
Note that this may trigger a name service reverse lookup.
actual
fun
copy
(
hostname
:
String
,
port
:
Int
)
:
InetSocketAddress