the book. the movie was something i watched as well and enjoyed, but you asked for the novel!
something about the way Sagan described it made it so believable that we could have interplanetary interaction.