This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
It sounds like you are in need of a good beginners book. Didn't this class have C as a prereq? A Book on C is an outstanding book that covers ANSI C. And as noted, Unix Network Programming is the definitive networking book, although it actually expects the reader to be comfortable in the basics of C, which is more then fair.
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra