If you want to use a USB camera as an IP camera, you'll have to plug it into a computer of some sort and run an appropriate IP camera server program on it. That's basically what IP cameras are in the first place, just all in one consumer-friendly package and omitting the USB connection if the SoC running the IP functions has direct sensor input capability.