head 1.1; branch 1.1.1; access ; symbols DEVEL:1.1.1.1 HEAD:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.03.16.18.12.47; author jallali; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.16.18.12.47; author jallali; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.oti.palmos
Class NetLib

    java.lang.Object
      |
      +--com.ibm.oti.palmos.OSBase
            |
            +--com.ibm.oti.palmos.NetLib

public class NetLib
extends OSBase

Field Summary
`static int` | `LIBREFNUM`

Fields inherited from class com.ibm.oti.palmos.OSBase
`BYTE, INT, retAddrFlag, retDataFlag, SHORT`

Constructor Summary
`NetLib()`

Method Summary
`static int` | `NetLibAddrAToIN(CharPtr a)`
`static CharPtr` | `NetLibAddrINToA(int inet, CharPtr spaceP)`
`static NetHostInfoType` | `NetLibGetHostByAddr(Int8Ptr addrP, int len, int type, NetHostInfoBufType bufP, int timeout, Int16Ptr err)`
`static NetHostInfoType` | `NetLibGetHostByName(CharPtr nameP, NetHostInfoBufType bufP, int timeout, Int16Ptr err)`
`static int` | `NetLibIFGet(int index, Int32Ptr ifCreatorP, Int16Ptr ifInstanceP)`
`static int` | `NetLibIFSettingGet(int ifCreator, int ifInstance, int setting, MemPtr valueP, Int16Ptr valueLenP)`
`static int` | `NetLibReceive(int socket, MemPtr bufP, int bufLen, int flags, MemPtr fromAddrP, Int16Ptr fromLenP, int timeout, Int16Ptr err)`
`static int` | `NetLibSelect(int width, Int32Ptr readFDs, Int32Ptr writeFDs, Int32Ptr exceptFDs, int timeout, Int16Ptr err)`
`static int` | `NetLibSend(int socket, MemPtr bufP, int bufLen, int flags, MemPtr toAddrP, int toLen, int timeout, Int16Ptr err)`
`static int` | `NetLibSettingGet(int setting, MemPtr valueP, Int16Ptr valueLenP)`
`static int` | `NetLibSocketAccept(int socket, NetSocketAddrType sockAddrP, Int16Ptr locAddrLenP, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketAddr(int socketRef, NetSocketAddrType locAddrP, Int16Ptr locAddrLenP, NetSocketAddrType remAddrP, Int16Ptr remAddrLenP, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketBind(int socket, NetSocketAddrType sockAddrP, int addrLen, int timeout, Int16Ptr err)`
`static void` | `NetLibSocketClose(int socket, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketConnect(int socket, NetSocketAddrType sockAddrP, int addrLen, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketListen(int socket, int queueLen, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketOpen(int domain, int type, int protocol, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketOptionGet(int socket, int level, int option, MemPtr optValueP, Int16Ptr optValueLenP, int timeout, Int16Ptr err)`
`static int` | `NetLibSocketOptionSet(int socket, int level, int option, MemPtr optValueP, int optValueLen, int timeout, Int16Ptr err)`

Methods inherited from class com.ibm.oti.palmos.OSBase
`getChar, getInt, getLong, getPointer, getShort, getUChar, getUInt, getULong, getUShort, memCopy, memCopy, setChar, setInt, setLong, setPointer, setShort, setUChar, setUInt, setULong, setUShort, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LIBREFNUM

    public static int LIBREFNUM

Constructor Detail

### NetLib

    public NetLib()

Method Detail

### NetLibIFGet

    public static int NetLibIFGet(int index,
                                  Int32Ptr ifCreatorP,
                                  Int16Ptr ifInstanceP)

### NetLibIFSettingGet

    public static int NetLibIFSettingGet(int ifCreator,
                                         int ifInstance,
                                         int setting,
                                         MemPtr valueP,
                                         Int16Ptr valueLenP)

### NetLibGetHostByAddr

    public static NetHostInfoType NetLibGetHostByAddr(Int8Ptr addrP,
                                                      int len,
                                                      int type,
                                                      NetHostInfoBufType bufP,
                                                      int timeout,
                                                      Int16Ptr err)

### NetLibGetHostByName

    public static NetHostInfoType NetLibGetHostByName(CharPtr nameP,
                                                      NetHostInfoBufType bufP,
                                                      int timeout,
                                                      Int16Ptr err)

### NetLibAddrAToIN

    public static int NetLibAddrAToIN(CharPtr a)

### NetLibAddrINToA

    public static CharPtr NetLibAddrINToA(int inet,
                                          CharPtr spaceP)

### NetLibSocketClose

    public static void NetLibSocketClose(int socket,
                                         int timeout,
                                         Int16Ptr err)

### NetLibSocketBind

    public static int NetLibSocketBind(int socket,
                                       NetSocketAddrType sockAddrP,
                                       int addrLen,
                                       int timeout,
                                       Int16Ptr err)

### NetLibSocketAccept

    public static int NetLibSocketAccept(int socket,
                                         NetSocketAddrType sockAddrP,
                                         Int16Ptr locAddrLenP,
                                         int timeout,
                                         Int16Ptr err)

### NetLibSocketAddr

    public static int NetLibSocketAddr(int socketRef,
                                       NetSocketAddrType locAddrP,
                                       Int16Ptr locAddrLenP,
                                       NetSocketAddrType remAddrP,
                                       Int16Ptr remAddrLenP,
                                       int timeout,
                                       Int16Ptr err)

### NetLibSocketOptionGet

    public static int NetLibSocketOptionGet(int socket,
                                            int level,
                                            int option,
                                            MemPtr optValueP,
                                            Int16Ptr optValueLenP,
                                            int timeout,
                                            Int16Ptr err)

### NetLibSocketOptionSet

    public static int NetLibSocketOptionSet(int socket,
                                            int level,
                                            int option,
                                            MemPtr optValueP,
                                            int optValueLen,
                                            int timeout,
                                            Int16Ptr err)

### NetLibSocketConnect

    public static int NetLibSocketConnect(int socket,
                                          NetSocketAddrType sockAddrP,
                                          int addrLen,
                                          int timeout,
                                          Int16Ptr err)

### NetLibSocketOpen

    public static int NetLibSocketOpen(int domain,
                                       int type,
                                       int protocol,
                                       int timeout,
                                       Int16Ptr err)

### NetLibSocketListen

    public static int NetLibSocketListen(int socket,
                                         int queueLen,
                                         int timeout,
                                         Int16Ptr err)

### NetLibSelect

    public static int NetLibSelect(int width,
                                   Int32Ptr readFDs,
                                   Int32Ptr writeFDs,
                                   Int32Ptr exceptFDs,
                                   int timeout,
                                   Int16Ptr err)

### NetLibReceive

    public static int NetLibReceive(int socket,
                                    MemPtr bufP,
                                    int bufLen,
                                    int flags,
                                    MemPtr fromAddrP,
                                    Int16Ptr fromLenP,
                                    int timeout,
                                    Int16Ptr err)

### NetLibSend

    public static int NetLibSend(int socket,
                                 MemPtr bufP,
                                 int bufLen,
                                 int flags,
                                 MemPtr toAddrP,
                                 int toLen,
                                 int timeout,
                                 Int16Ptr err)

### NetLibSettingGet

    public static int NetLibSettingGet(int setting,
                                       MemPtr valueP,
                                       Int16Ptr valueLenP)

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

@ 1.1.1.1 log @import initial @ text @@