jtux
Class USocket

java.lang.Object
  |
  +--jtux.USocket

public synchronized class USocket
extends java.lang.Object


Nested Class Summary
static class USocket.AddrInfoListHead
           
static class USocket.s_addrinfo
           
static class USocket.s_in_addr
           
static class USocket.s_in6_addr
           
static class USocket.s_linger
           
static class USocket.s_msghdr
           
static class USocket.s_sockaddr
           
static class USocket.s_sockaddr_in
           
static class USocket.s_sockaddr_in6
           
static class USocket.s_sockaddr_un
           
static class USocket.SockOptValue
           
static class USocket.SockOptValue_boolean
           
static class USocket.SockOptValue_int
           
static class USocket.SockOptValue_s_linger
           
static class USocket.SockOptValue_s_timeval
           
 
Constructor Summary
USocket()
           
 
Method Summary
static int accept(int, USocket.s_sockaddr, UUtil.IntHolder)
           
static void bind(int, USocket.s_sockaddr, int)
           
static void connect(int, USocket.s_sockaddr, int)
           
static void freeaddrinfo(USocket.s_addrinfo)
           
static void getaddrinfo(java.lang.String, java.lang.String, USocket.s_addrinfo, USocket.AddrInfoListHead)
           
static void gethostname(java.lang.StringBuffer)
           
static void getsockopt(int, int, int, USocket.SockOptValue, UUtil.IntHolder)
           
static int htonl(int)
           
static short htons(short)
           
static void listen(int, int)
           
static int ntohl(int)
           
static short ntohs(short)
           
static int recvfrom(int, byte[], int, int, USocket.s_sockaddr, int)
           
static int recvmsg(int, USocket.s_msghdr, int)
           
static int sendmsg(int, USocket.s_msghdr, int)
           
static int sendto(int, byte[], int, int, USocket.s_sockaddr, int)
           
static void setsockopt(int, int, int, USocket.SockOptValue, int)
           
static int socket(int, int, int)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USocket

public USocket()
Method Detail

accept

public static int accept(int,
                         USocket.s_sockaddr,
                         UUtil.IntHolder)
                  throws UErrorException
UErrorException

bind

public static void bind(int,
                        USocket.s_sockaddr,
                        int)
                 throws UErrorException
UErrorException

connect

public static void connect(int,
                           USocket.s_sockaddr,
                           int)
                    throws UErrorException
UErrorException

freeaddrinfo

public static void freeaddrinfo(USocket.s_addrinfo)

getaddrinfo

public static void getaddrinfo(java.lang.String,
                               java.lang.String,
                               USocket.s_addrinfo,
                               USocket.AddrInfoListHead)
                        throws UErrorException
UErrorException

gethostname

public static void gethostname(java.lang.StringBuffer)
                        throws UErrorException
UErrorException

getsockopt

public static void getsockopt(int,
                              int,
                              int,
                              USocket.SockOptValue,
                              UUtil.IntHolder)
                       throws UErrorException
UErrorException

htonl

public static int htonl(int)

htons

public static short htons(short)

listen

public static void listen(int,
                          int)
                   throws UErrorException
UErrorException

ntohs

public static short ntohs(short)

ntohl

public static int ntohl(int)

recvfrom

public static int recvfrom(int,
                           byte[],
                           int,
                           int,
                           USocket.s_sockaddr,
                           int)
                    throws UErrorException
UErrorException

recvmsg

public static int recvmsg(int,
                          USocket.s_msghdr,
                          int)
                   throws UErrorException
UErrorException

sendmsg

public static int sendmsg(int,
                          USocket.s_msghdr,
                          int)
                   throws UErrorException
UErrorException

sendto

public static int sendto(int,
                         byte[],
                         int,
                         int,
                         USocket.s_sockaddr,
                         int)
                  throws UErrorException
UErrorException

setsockopt

public static void setsockopt(int,
                              int,
                              int,
                              USocket.SockOptValue,
                              int)
                       throws UErrorException
UErrorException

socket

public static int socket(int,
                         int,
                         int)
                  throws UErrorException
UErrorException