We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61fca89 commit e32ca1cCopy full SHA for e32ca1c
ci/LDKSwift/Tests/LDKSwiftTests/HumanObjectPeerTestInstance.swift
@@ -343,14 +343,17 @@ public class HumanObjectPeerTestInstance {
343
return
344
}
345
self.tcpSocketHandler = self.constructor!.getTCPPeerHandler()
346
+ print("Attempting to bind socket…")
347
for i in 10000...65535 {
348
let port = UInt16(i)
349
let bound = self.tcpSocketHandler!.bind(address: "127.0.0.1", port: port)
350
if bound {
351
+ print("Bound socket to port \(port) on attempt \(i)")
352
self.tcpPort = port
353
354
355
356
+ print("Failed to bind on any port")
357
throw SocketBindError.failedToBindSocket
358
359
0 commit comments