Find error codes values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimwawar
    New Member
    • Jan 2007
    • 15

    #1

    Find error codes values

    Hi,

    I am using sockets and getting an error when I try to bind(), errno is returning an int value of 99, but the man pages I find all give the errors as text values. Would someone be able/willing to point me in the direction needed to convert the 99 to a text value or point me where I can find out what the 99 is telling me?

    Thanks Jim
  • jimwawar
    New Member
    • Jan 2007
    • 15

    #2
    Originally posted by jimwawar
    Hi,

    I am using sockets and getting an error when I try to bind(), errno is returning an int value of 99, but the man pages I find all give the errors as text values. Would someone be able/willing to point me in the direction needed to convert the 99 to a text value or point me where I can find out what the 99 is telling me?

    Thanks Jim
    OK solved my own problem and embarrassed for the post.

    Jim

    edit: I should have given my solution, use perror()

    Comment

    Working...