title: how to stream video from a camera connected to Raspberry Pi to a PC on the same network?
body: <p>I am going to connect:
  a:  a wifi dongle to Raspberry Pi and make an Ad Hoc network
  b:  a raspberry pi camera to the raspberry pi</p>
  
  <p>I want to connect to the RPi's ad hoc network from my PC. Once the PC and the RPi are on the same network,an application on the PC should be able to stream video from the camera and be able to control the GPIO pins on the Raspberry. My problem is that I don't know how to get started with the application.
   Can anyone tell me what topics to read,and what libraries to use for streaming?anything that can help me at all will be highly appreciated as I am completely in the dark right now.I am comfortable with programming in C++ so the application will naturally be in C++.
  Thanks.</p>