Diesen Port Socket was auch immer gibt es nicht. Warum habe ich geschrieben --> ICMP kann das nicht leisten. Wäre auch Unsinn.
Du könntest den Client auch dazu bringen, daß er auf einem bestimmten Socket lauscht. Dazu müßte dann ein jeder Rechner ein bißchen Java Code bereithalten. Hier hast Du einen Hinweis aus der Java API
ServerSocket
public ServerSocket(int port,
int backlog,
InetAddress bindAddr)
throws IOException
Create a server with the specified port, listen backlog, and local IP address to bind to. The bindAddr argument can be used on a multi-homed host for a ServerSocket that will only accept connect requests to one of its addresses. If bindAddr is null, it will default accepting connections on any/all local addresses. The port must be between 0 and 65535, inclusive.
If there is a security manager, this method calls its checkListen method with the port argument as its argument to ensure the operation is allowed. This could result in a SecurityException.
The backlog argument must be a positive value greater than 0. If the value passed if equal or less than 0, then the default value will be assumed.
Parameters:
port - the local TCP port
backlog - the listen backlog
bindAddr - the local InetAddress the server will bind to
Throws:
SecurityException - if a security manager exists and its checkListen method doesn't allow the operation.
IOException - if an I/O error occurs when opening the socket.
Since:
JDK1.1
See Also:
SocketOptions, SocketImpl, SecurityManager.checkListen(int)