Handle absence of socket constants