A police officer is recovering after being struck by gunfire following a stand-off in North Charleston.