Wireless Camera

Can I make like an AD-HOC network and have the IP Camera connect to that?