sockets library stub