| java.lang.Object com.caucho.quercus.module.AbstractQuercusModule com.caucho.quercus.lib.file.SocketModule
Method Summary | |
public Map<String, Value> | getConstMap() Returns the constants defined by this module. | public static boolean | socket_bind(Env env, SocketInputOutput socket, StringValue address, int port) | public static void | socket_close(Env env, SocketInputOutput socket) | public static boolean | socket_connect(Env env, SocketInputOutput socket, StringValue address, int port) | public static SocketInputOutput | socket_create(Env env, int domain, int type, int protocol) | public static Value | socket_get_status(Env env, BinaryStream stream) | public static Value | socket_read(Env env, SocketInputOutput socket, int length, int type) | public static boolean | socket_set_timeout(Env env, Value stream, int seconds, int milliseconds) | public boolean | socket_shutdown(Env env, SocketInputOutput file, int how) Closes a socket. | public static Value | socket_write(Env env, SocketInputOutput socket, InputStream is, int length) |
getConstMap | public Map<String, Value> getConstMap()(Code) | | Returns the constants defined by this module.
|
socket_set_timeout | public static boolean socket_set_timeout(Env env, Value stream, int seconds, int milliseconds)(Code) | | |
socket_shutdown | public boolean socket_shutdown(Env env, SocketInputOutput file, int how)(Code) | | Closes a socket.
Parameters: how - 0 = read, 1 = write, 2 = both |
|
|