cant (n.1) Look up cant at Dictionary.com
"insincere talk," 1709, earlier it was slang for "whining of beggars" (1640s), from the verb in this sense (1560s), from Old North French canter (Old French chanter) "to sing, chant," from Latin cantare, frequentative of canere "to sing" (see chant (v.)). Sense in English developed after 1680 to mean the jargon of criminals and vagabonds, thence applied contemptuously by any sect or school to the phraseology of its rival.
... Slang is universal, whilst Cant is restricted in usage to certain classes of the community: thieves, vagrom men, and -- well, their associates. ... Slang boasts a quasi-respectability denied to Cant, though Cant is frequently more enduring, its use continuing without variation of meaning for many generations. [John S. Farmer, Forewords to "Musa Pedestris," 1896]
cant (n.2) Look up cant at Dictionary.com
"slope, slant," late 14c., Scottish, "edge, brink," from Old North French cant "corner" (perhaps via Middle Low German kante or Middle Dutch kant), from Vulgar Latin *canthus, from Latin cantus "iron tire of a wheel," possibly from a Celtic word meaning "rim of wheel, edge" (compare Welsh cant "bordering of a circle, tire, edge," Breton cant "circle"), from PIE *kam-bo- "corner, bend," from root *kemb- "to bend, turn, change" (source also of Greek kanthos "corner of the eye," Russian kutu "corner").