2010 FRC Java API


com.sun.squawk.platform.windows
Class Inet

java.lang.Object
  extended by com.sun.squawk.platform.windows.Inet

public class Inet
extends Object

Convert values between host and network byte order. This is an implementation of byte order conversion routines.


Method Summary
static int htonl(int hostint)
           
static short htons(short hostshort)
           
static int ntohl(int netint)
           
static short ntohs(short netshort)
           
static short swap2(int value)
           
static int swap4(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

htonl

public static int htonl(int hostint)

htons

public static short htons(short hostshort)

ntohl

public static int ntohl(int netint)

ntohs

public static short ntohs(short netshort)

swap2

public static short swap2(int value)

swap4

public static int swap4(int value)

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.