Constructing Server Sockets
Normally you only specify the port you want to listen on, like this:
try {
ServerSocket ss = new ServerSocket(80);
}
catch (IOException e) {
System.err.println(e);
}
Previous slide
Next slide
Back to first slide
View graphic version