Skip to content

How to modify the initial_hosts in tcp-nio.xml through java code #756

Answered by rhusar
CrazyBeginner asked this question in Q&A
Discussion options

You must be logged in to vote

As simple as:

TCPPING tcpping = channel.getProtocolStack().findProtocol(TCPPING.class);
tcpping.setInitialHosts(...);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@CrazyBeginner
Comment options

@rhusar
Comment options

rhusar Jan 6, 2024
Collaborator

Answer selected by CrazyBeginner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants