Opens a port to listen on.paramport TCP to listen onexceptionIOException if some other kind of I/O error occursexceptionSecurityException if the current MIDlet suite does not have permission to open a server socket
Opens a port to listen on. For privileged use only.paramport TCP to listen on; if less than or equal to zero, a port will be assigned automaticallyparamtoken the security tokenexceptionIOException if some other kind of I/O error occursexceptionSecurityException if the token is invalid