Java org.springframework.util SocketUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util SocketUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util SocketUtils.

The text is from its open source code.

Method

intfindAvailableTcpPort()
Find an available TCP port randomly selected from the range [ #PORT_RANGE_MIN , #PORT_RANGE_MAX ].
intfindAvailableTcpPort(int minPort)
Find an available TCP port randomly selected from the range [ minPort , #PORT_RANGE_MAX ].
intfindAvailableUdpPort(int minPort)
Find an available UDP port randomly selected from the range [ minPort , #PORT_RANGE_MAX ].