Dear WW: I think I remember seeing it in one of the Hornblower series. Whenever sailing ships came into a harbor and anchored, local entrepreneurs came out in small boats to try to sell them fruit, confections, tobacco, etc..etc. Anything they thought sailors might buy. (The doxies had to wait for sailors to come ashore.)