rhama

TCP socket error codes

Jan 3rd, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. //https://gist.github.com/gabrielfalcao/4216897
  2.  
  3. 0 = Success
  4. 1 = Operation not permitted
  5. 2 = No such file or directory
  6. 3 = No such process
  7. 4 = Interrupted system call
  8. 5 = Input/output error
  9. 6 = No such device or address
  10. 7 = Argument list too long
  11. 8 = Exec format error
  12. 9 = Bad file descriptor
  13. 10 = No child processes
  14. 11 = Resource temporarily unavailable
  15. 12 = Cannot allocate memory
  16. 13 = Permission denied
  17. 14 = Bad address
  18. 15 = Block device required
  19. 16 = Device or resource busy
  20. 17 = File exists
  21. 18 = Invalid cross-device link
  22. 19 = No such device
  23. 20 = Not a directory
  24. 21 = Is a directory
  25. 22 = Invalid argument
  26. 23 = Too many open files in system
  27. 24 = Too many open files
  28. 25 = Inappropriate ioctl for device
  29. 26 = Text file busy
  30. 27 = File too large
  31. 28 = No space left on device
  32. 29 = Illegal seek
  33. 30 = Read-only file system
  34. 31 = Too many links
  35. 32 = Broken pipe
  36. 33 = Numerical argument out of domain
  37. 34 = Numerical result out of range
  38. 35 = Resource deadlock avoided
  39. 36 = File name too long
  40. 37 = No locks available
  41. 38 = Function not implemented
  42. 39 = Directory not empty
  43. 40 = Too many levels of symbolic links
  44. 41 = Unknown error 41
  45. 42 = No message of desired type
  46. 43 = Identifier removed
  47. 44 = Channel number out of range
  48. 45 = Level 2 not synchronized
  49. 46 = Level 3 halted
  50. 47 = Level 3 reset
  51. 48 = Link number out of range
  52. 49 = Protocol driver not attached
  53. 50 = No CSI structure available
  54. 51 = Level 2 halted
  55. 52 = Invalid exchange
  56. 53 = Invalid request descriptor
  57. 54 = Exchange full
  58. 55 = No anode
  59. 56 = Invalid request code
  60. 57 = Invalid slot
  61. 58 = Unknown error 58
  62. 59 = Bad font file format
  63. 60 = Device not a stream
  64. 61 = No data available
  65. 62 = Timer expired
  66. 63 = Out of streams resources
  67. 64 = Machine is not on the network
  68. 65 = Package not installed
  69. 66 = Object is remote
  70. 67 = Link has been severed
  71. 68 = Advertise error
  72. 69 = Srmount error
  73. 70 = Communication error on send
  74. 71 = Protocol error
  75. 72 = Multihop attempted
  76. 73 = RFS specific error
  77. 74 = Bad message
  78. 75 = Value too large for defined data type
  79. 76 = Name not unique on network
  80. 77 = File descriptor in bad state
  81. 78 = Remote address changed
  82. 79 = Can not access a needed shared library
  83. 80 = Accessing a corrupted shared library
  84. 81 = .lib section in a.out corrupted
  85. 82 = Attempting to link in too many shared libraries
  86. 83 = Cannot exec a shared library directly
  87. 84 = Invalid or incomplete multibyte or wide character
  88. 85 = Interrupted system call should be restarted
  89. 86 = Streams pipe error
  90. 87 = Too many users
  91. 88 = Socket operation on non-socket
  92. 89 = Destination address required
  93. 90 = Message too long
  94. 91 = Protocol wrong type for socket
  95. 92 = Protocol not available
  96. 93 = Protocol not supported
  97. 94 = Socket type not supported
  98. 95 = Operation not supported
  99. 96 = Protocol family not supported
  100. 97 = Address family not supported by protocol
  101. 98 = Address already in use
  102. 99 = Cannot assign requested address
  103. 100 = Network is down
  104. 101 = Network is unreachable
  105. 102 = Network dropped connection on reset
  106. 103 = Software caused connection abort
  107. 104 = Connection reset by peer
  108. 105 = No buffer space available
  109. 106 = Transport endpoint is already connected
  110. 107 = Transport endpoint is not connected
  111. 108 = Cannot send after transport endpoint shutdown
  112. 109 = Too many references: cannot splice
  113. 110 = Connection timed out
  114. 111 = Connection refused
  115. 112 = Host is down
  116. 113 = No route to host
  117. 114 = Operation already in progress
  118. 115 = Operation now in progress
  119. 116 = Stale NFS file handle
  120. 117 = Structure needs cleaning
  121. 118 = Not a XENIX named type file
  122. 119 = No XENIX semaphores available
  123. 120 = Is a named type file
  124. 121 = Remote I/O error
  125. 122 = Disk quota exceeded
  126. 123 = No medium found
  127. 124 = Wrong medium type
Advertisement
Add Comment
Please, Sign In to add comment