Search results
This class implements server sockets. A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester. The actual work of the server socket is performed by an instance of the SocketImpl class.
- Use
abstract ServerSocket ServerSocketFactory....
- Frames
This implies, that the ServerSocket must be created with the...
- Tree
Hierarchy For Package java.net Package Hierarchies: All...
- Package
Provides the classes for implementing networking...
- Oracle Java Training and Certification
Learn how to build highly functional, reliable, portable,...
- Use
ServerSocket is a java.net class that provides a system-independent implementation of the server side of a client/server socket connection. The constructor for ServerSocket throws an exception if it can't listen on the specified port (for example, the port is already being used).
Free Training & Accreditation. The Oracle Learning Explorer program offers entry-level training courses and accreditation for Oracle's entire product portfolio. It was designed to empower professionals across the globe to begin cultivating valuable IT skills. Start your journey today. Learn for free.
The Server program creates a Serversocket, gets a connection to the echo client by using a thread instance, reads input from the client, and responds to the client that requested the connection. To keep the server example simple, you designed it to listen for and handle a single connection request.
Start building foundational skills with entry-level training courses and accreditation for Oracle's entire product portfolio. Learn the basics of cloud infrastructure, database management, and core business processes to jump-start your learning journey.
16 lis 2007 · Hey guys, I want to use a ServerSocket to make my home computer act as a server for a small instant messenger program I am making (attempting to, at least). I was wondering how to find the IP addre...
Learn how to build highly functional, reliable, portable, and secure applications and implement Oracle WebLogic Server, Oracle SOA Cloud Service, and Oracle WebCenter Portal when creating applications on Oracle Cloud.