Green’s Dictionary of Slang

cockstand n.

[cock n.3 (1) + SE stand]

[mid-19C+] an erection; thus phr. this will give you the cockstand; cockstanding adj., sexually arousing.