public class UdpSocket extends SocketIO implements FileIO
AF_INET, AF_INET6, AF_LINK, AF_LOCAL, AF_NETLINK, AF_ROUTE, AF_UNSPEC, IFF_BROADCAST, IFF_LOOPBACK, IFF_MULTICAST, IFF_NOARP, IFF_RUNNING, IFF_UP, IPPROTO_ICMP, IPPROTO_TCP, IPV4_ADDR_LEN, IPV6_ADDR_LEN, MSG_NOSIGNAL, SO_PEERSEC, SOCK_DGRAM, SOCK_RAW, SOCK_SEQPACKET, SOCK_STREAM, SOL_SOCKEToflags, op, stdioSIOCGIFCONF, SIOCGIFFLAGS, SIOCGIFNAME| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected int |
connect_ipv4(com.sun.jna.Pointer addr,
int addrlen) |
protected int |
connect_ipv6(com.sun.jna.Pointer addr,
int addrlen) |
FileIO |
dup2() |
protected int |
getIFaceFlags(Emulator<?> emulator,
long argp) |
protected int |
getIFaceName(Emulator<?> emulator,
long argp) |
protected InetSocketAddress |
getLocalSocketAddress() |
protected int |
getTcpNoDelay() |
int |
ioctl(Emulator<?> emulator,
long request,
long argp) |
int |
read(Backend backend,
com.sun.jna.Pointer buffer,
int count) |
int |
sendto(byte[] data,
int flags,
com.sun.jna.Pointer dest_addr,
int addrlen) |
protected void |
setKeepAlive(int keepAlive) |
protected void |
setReceiveBufferSize(int size) |
protected void |
setReuseAddress(int reuseAddress) |
protected void |
setSendBufferSize(int size) |
protected void |
setTcpNoDelay(int tcpNoDelay) |
String |
toString() |
int |
write(byte[] data) |
bind_ipv4, bind_ipv6, bind, connect, fillAddress, fstat, getdents64, getNetworkIFs, getsockname, getsockopt, recvfrom, setsockoptaccept, setFlags, statfscanRead, fcntl, ftruncate, getMmapData, getPath, getpeername, isStdIO, listen, llseek, lseek, mmap2, pread, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbind, connect, fcntl, ftruncate, getPath, getpeername, getsockname, getsockopt, isStdIO, listen, llseek, lseek, mmap2, pread, recvfrom, setsockopt, shutdownaccept, statfspublic UdpSocket(Emulator<?> emulator)
public void close()
close in interface FileIOclose in class AbstractFileIOprotected int connect_ipv6(com.sun.jna.Pointer addr,
int addrlen)
connect_ipv6 in class SocketIOprotected int connect_ipv4(com.sun.jna.Pointer addr,
int addrlen)
connect_ipv4 in class SocketIOprotected InetSocketAddress getLocalSocketAddress()
getLocalSocketAddress in class SocketIOpublic int write(byte[] data)
write in interface FileIOwrite in class AbstractFileIOpublic int read(Backend backend, com.sun.jna.Pointer buffer, int count)
read in interface FileIOread in class AbstractFileIOpublic FileIO dup2()
dup2 in interface FileIOdup2 in class AbstractFileIOpublic int sendto(byte[] data,
int flags,
com.sun.jna.Pointer dest_addr,
int addrlen)
protected void setKeepAlive(int keepAlive)
setKeepAlive in class SocketIOprotected void setSendBufferSize(int size)
setSendBufferSize in class SocketIOprotected void setReceiveBufferSize(int size)
setReceiveBufferSize in class SocketIOprotected void setReuseAddress(int reuseAddress)
setReuseAddress in class SocketIOprotected void setTcpNoDelay(int tcpNoDelay)
setTcpNoDelay in class SocketIOprotected int getTcpNoDelay()
getTcpNoDelay in class SocketIOpublic int ioctl(Emulator<?> emulator, long request, long argp)
ioctl in interface FileIOioctl in class AbstractFileIOprotected int getIFaceFlags(Emulator<?> emulator, long argp)
protected int getIFaceName(Emulator<?> emulator, long argp)
Copyright © 2026. All rights reserved.