Java Socket setOOBInline() method25 Mar 2025 | 1 min read The setOOBInline() method of Java Socket class enables or disables the SO_OOBInline. By default, the SO_OOBInline option is disabled. SyntaxParameterThe 'on' represents whether the SO_OOBInline option should enabled or not. ReturnNA ThrowsSocketException - if there is an error in the underlying protocol, such as a TCP error. Example 1Output: SO_OOBINLINE is enabled: true Example 2Output: SO_OOBInline is not enabled Next TopicJava Socket Class |
We request you to subscribe our newsletter for upcoming updates.

We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India