If anybody is interested in understanding IP programming in the most technical way, Unix Network Programming mean UNP is the best book: unpbook.com