Add optcopt
Merge pull request #41 from djs55/fd-send-recv

Add optcopt