Skip to content

Conversation

Lan-ce-lot
Copy link

@Lan-ce-lot Lan-ce-lot commented Sep 15, 2025

Does this pull request fix one issue?

Fix #30

Describe how you did it

  • Created CheckAddrWithOptions(addr, opts) method
  • Enhanced [parseSockAddr] to support network parameter (tcp, tcp4, tcp6)
  • Added SO_MARK socket option support for Linux

Describe how to verify it

// IPv4 only
opts := tcp.DefaultOptions().WithNetwork("tcp4")
checker.CheckAddrWithOptions("google.com:80", opts)

// IPv6 only
opts := tcp.DefaultOptions().WithNetwork("tcp6") 
checker.CheckAddrWithOptions("google.com:80", opts)

// Run tests
go test -v ./...
Clipboard_Screenshot_1757909672

@Lan-ce-lot Lan-ce-lot force-pushed the feat/resolve_ipv6 branch 6 times, most recently from fe267e4 to 4cb9f94 Compare September 21, 2025 14:54
@Lan-ce-lot
Copy link
Author

I passed the CI in my own repo. PTAL @tevino

@tevino
Copy link
Owner

tevino commented Sep 22, 2025

@Lan-ce-lot Thanks for your work, I'll be mostly AFK for the next week or so, but I’ll definitely check in after that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support to resolve Ipv6 Addresses
2 participants