/[classpath]/classpath/java/net/DatagramSocket.java
ViewVC logotype

Diff of /classpath/java/net/DatagramSocket.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by mark, Mon Jul 11 18:38:12 2005 UTC revision 1.46 by mark, Sun Aug 7 20:04:59 2005 UTC
# Line 1  Line 1 
1  /* DatagramSocket.java -- A class to model UDP sockets  /* DatagramSocket.java -- A class to model UDP sockets
2     Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004     Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005
3     Free Software Foundation, Inc.     Free Software Foundation, Inc.
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.net;  package java.net;
40    
41    import gnu.classpath.SystemProperties;
42    
43  import gnu.java.net.PlainDatagramSocketImpl;  import gnu.java.net.PlainDatagramSocketImpl;
44  import gnu.java.nio.DatagramChannelImpl;  import gnu.java.nio.DatagramChannelImpl;
45    
# Line 172  public class DatagramSocket Line 174  public class DatagramSocket
174     */     */
175    public DatagramSocket(SocketAddress address) throws SocketException    public DatagramSocket(SocketAddress address) throws SocketException
176    {    {
177      String propVal = System.getProperty("impl.prefix");      String propVal = SystemProperties.getProperty("impl.prefix");
178      if (propVal == null || propVal.equals(""))      if (propVal == null || propVal.equals(""))
179        impl = new PlainDatagramSocketImpl();        impl = new PlainDatagramSocketImpl();
180      else      else

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26