The Basics of Wired and Wireless Communications