It isn’t a tawdry, ripped-from-the-headlines tale, though given the societal devotion to all things Internet, it certainly could be. In Laura Eason’s “Sex With Strangers,” a young blogger engages in a lot of the title activity, boasts online of his conquests and turns them into a racy book. He meets a reclusive and serious novelist, Olivia, who’s pushing 40 and frustrated. Each is beyond curious about the other’s very different professional life, and off they go on an unlikely affair.

The Second Stage Theater production of Ms. Eason’s play, which had its premiere at the Steppenwolf Theater Company in Chicago, is directed by David Schwimmer. (Ms. Eason and Mr. Schwimmer have collaborated in the past, including co-starring in “Our Town” at Lookingglass Theater Company in Chicago.) The two-character cast of “Sex With Strangers” features Anna Gunn, of “Breaking Bad,” and Billy Magnussen, who was nominated for a Tony for his performance in “Vanya and Sonia and Masha and Spike.” (In previews, opens on July 30, 305 West 43rd Street, Clinton; 212-246-4422, 2st.com.)