Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.squawk.platform.posix
Class Inet

    java.lang.Object
      com.sun.squawk.platform.posix.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

### swap2

    public static short swap2(int value)

### swap4

    public static int swap4(int value)

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"