getAddress

@NotNull
open fun getAddress(): @NotNull InetSocketAddress

Gets the address of the remote server.

Return

The address of the remote server.


@NotNull
abstract fun getAddress(resolve: Boolean): @NotNull InetSocketAddress

Gets the address of the remote server.

Return

The address of the remote server.

Parameters

resolve

Whether the address should be revolved.