Added connectivity test function and now fully works.
Added error checking to the inline sniffer. Still not fully working.
Created a function which when given the error variable, a failed message
and success message will check a subprocess for failure or success and
display accordingly.