EarthLink ( ELNK) swung to a profit in its latest quarter as the Internet service provider posted solid growth in broadband usage.

For the second quarter ended June 30, the Atlanta company earned $49.7 million, or 31 cents a share, reversing the year-ago loss of $15.3 million, or a dime a share. Revenue slipped to $349 million from $352 million a year earlier.

Latest-quarter earnings doubled the Thomson First Call analyst consensus, as EarthLink posted a 20% rise in broadband revenue, offsetting a 10% drop in narrowband sales.

EarthLink added 31,000 Net subscribers during the second quarter. It added 47,000 Net broadband subscribers and 102,000 PeoplePC Online low-price narrowband users. But it lost 113,000 premium narrowband subscribers.

Monthly subscriber churn was 4.4%, up from 3.9% a year ago, as premium narrowband subscribers kept moving to broadband access services, including those of competing providers.

EarthLink also issued financial guidance for its third quarter and fiscal year. The company said it expects to earn 19 to 22 cents a share on sales of around $350 million. Those figures are slightly above the Wall Street earnings estimate and slightly below the revenue projection. For the year, EarthLink raised its net income guidance to $106 million and forecast annual revenue of $1.41 billion-$1.42 billion. That's a shade below the consensus estimate.

The company said it expects to add 300,000 to 400,000 total paying subscribers for the year. That's a reduction from its previous forecast, which had the company adding as many as 550,000 users.

EarthLink shares added 6 cents Thursday to $9.07.

More from Technology

How Technology Will Unleash the Legal Marijuana Industry's Growth Potential

How Technology Will Unleash the Legal Marijuana Industry's Growth Potential

Apple Shares Gain as U.S. and China Call Off Trade War, For Now

Apple Shares Gain as U.S. and China Call Off Trade War, For Now

Tesla Shares Jump on New $78,000 Model 3 Plan, China Trade War Truce

Tesla Shares Jump on New $78,000 Model 3 Plan, China Trade War Truce

Tesla's Supercharger Network Is Booming -- Here's Why That's a Concern

Tesla's Supercharger Network Is Booming -- Here's Why That's a Concern

Attention 60 Minutes: Google Isn't the Only Big-Tech Monopoly

Attention 60 Minutes: Google Isn't the Only Big-Tech Monopoly