Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12. java.net > PortUnreachableException

Name

PortUnreachableException

Synopsis

An exception of this type may be thrown by a send( ) or receive( ) call on a DatagramSocket if the connect( ) method of that socket has been called, and if the connection attempt resulted in an ICMP “port unreachable” message.

java.net.PortUnreachableException

Figure 12-15. java.net.PortUnreachableException

public class PortUnreachableException extends SocketException {
// Public Constructors
     public PortUnreachableException( );  
     public PortUnreachableException(String msg);  
}


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint