mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Log the IP being used to connect to IRC.
This commit is contained in:
parent
ff770a8d83
commit
1087d837e5
@ -91,6 +91,8 @@ public class IrcDiscovery implements PeerDiscovery {
|
||||
ArrayList<InetSocketAddress> addresses = new ArrayList<InetSocketAddress>();
|
||||
connection = null;
|
||||
try {
|
||||
InetAddress ip = InetAddress.getByName("irc.lfnet.org");
|
||||
log.info("Connecting to IRC with " + ip);
|
||||
connection = new Socket(server, port);
|
||||
writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream()));
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
|
Loading…
Reference in New Issue
Block a user