setRemoteAddress

abstract fun setRemoteAddress(@NotNull remoteAddress: @NotNull InetSocketAddress)

Sets the connection's remote address.

Parameters

remoteAddress

The new remote address to set.