Java 13 - Socket API Reimplementation


Java 13 have reimplemented the Java Socket API. Old Socket APIs like and has been replaced.

  • PlainSocketImpl is no more in use, now the Socket API provider points to NioSocketImpl.

  • New implementation leverages the java.nio infrastructure for better concurrency and i/o control.

  • New implementation is backwards compatible with code using older implementation.

  • New implementation is now default with Java 12.

  • Old implementation can be selected by multiple ways:

    • Set system property to true.

    • Run java with option.

    • Update JDK network configuration file available in ${java.home}/conf/

  • Old implementation and system property to select old implementation will be removed from future release.

Useful Video Courses


Java Date and Time Online Training

16 Lectures 2 hours

Malhar Lathkar


Java Servlet Online Training

19 Lectures 5 hours

Malhar Lathkar


JavaScript Online Training

25 Lectures 2.5 hours

Anadi Sharma


Java Online Training

Most Popular

126 Lectures 7 hours

Tushar Kale


Java Essential Training

119 Lectures 17.5 hours

Monica Mittal


Java Essentials Online Training

76 Lectures 7 hours

Arnab Chakraborty