public final class Socket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DATASTATUS |
static int |
ERRORSTATUS |
static int |
READYSTATUS |
static int |
RESETSTATUS |
Constructor and Description |
---|
Socket() |
Modifier and Type | Method and Description |
---|---|
int |
close() |
byte[] |
getData() |
int |
getError() |
java.lang.String |
getInetAddress() |
int |
getStatus() |
int |
send(byte[] data,
int len) |
int |
send(java.lang.String data) |
public static final int RESETSTATUS
public static final int READYSTATUS
public static final int ERRORSTATUS
public static final int DATASTATUS