show socket erorr nor and errstr.
errno
check existence of error variables
Merge pull request #15 from tufanbarisyildirim/master

Show Socket error no and error message if it fail.