Package | Description |
---|---|
com.caucho.quercus.lib | |
com.caucho.quercus.lib.file |
Modifier and Type | Method and Description |
---|---|
static SocketInputOutput |
NetworkModule.fsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Opens a socket
|
static SocketInputOutput |
NetworkModule.pfsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Persistent version of fsockopen.
|
Modifier and Type | Class and Description |
---|---|
class |
TcpInputOutput
Represents read/write stream
|
class |
UdpInputOutput
Represents read/write stream
|
Modifier and Type | Method and Description |
---|---|
static SocketInputOutput |
SocketModule.socket_create(Env env,
int domain,
int type,
int protocol) |
static SocketInputOutput |
StreamModule.stream_socket_client(Env env,
java.lang.String remoteSocket,
Value errorInt,
Value errorStr,
double timeout,
int flags,
StreamContextResource context)
Opens an Internet connection.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SocketModule.socket_bind(Env env,
SocketInputOutput socket,
StringValue address,
int port) |
static void |
SocketModule.socket_close(Env env,
SocketInputOutput socket) |
static boolean |
SocketModule.socket_connect(Env env,
SocketInputOutput socket,
StringValue address,
int port) |
static Value |
SocketModule.socket_read(Env env,
SocketInputOutput socket,
int length,
int type) |
boolean |
SocketModule.socket_shutdown(Env env,
SocketInputOutput file,
int how)
Closes a socket.
|
static Value |
SocketModule.socket_write(Env env,
SocketInputOutput socket,
java.io.InputStream is,
int length) |