Socket stuff. Still needs more work for CPRS to work b/c of multiple
devices issue.