Stochastic Processes Ratchets And Sockets