Page is a not externally linkable
Shaddows - 1:03 pm on Dec 12, 2008 (gmt 0)
Talk to a lawyer and have thme draft the contract
IANAL
Write a contract where you:
a) Agree you hold copyright and IP of code
b) Agree an upfront, one off fee whereby client has irrevocable rights to use the code (barring contractual defaults)
c) Agree you can license code to third parties without consulting client