• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SFML / SFML / 13362634257 / 22
60%
master: 60%

Build:
DEFAULT BRANCH: master
Ran 17 Feb 2025 10:55AM UTC
Files 190
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Feb 2025 04:05AM UTC coverage: 64.631%. Remained the same
13362634257.22

push

github

ChrisThrasher
Fix comments and address ordering in IpAddress::getLocalAddress

The old code says "The method here is to connect a UDP socket to
anyone (here to localhost)", but connecting to `localhost` doesn't
work because the connection would go via the loopback interface which
always has a local address of `127.0.0.1`.

The current code works on little-endian platforms due to a mistake in
the `createAddress` call. We pass `ntohl(INADDR_LOOPBACK)` as the IP,
but since `INADDR_LOOPBACK` is already in host order this actually
connects to `1.0.0.127`.

Fix the comments and intentionally connect to `1.1.1.1` (as a known
public IP address). This also fixes this call for big-endian
platforms.

6891 of 10662 relevant lines covered (64.63%)

0.65 hits per line

Source Files on job Windows VS2022 ClangCL MSBuild Static Debug - 13362634257.22
  • Tree
  • List 190
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13362634257
  • 91327373 on github
  • Prev Job for on master (#13325673922.7)
  • Next Job for on master (#13374757565.18)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc