[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ n ] [ p ] [ r ] [ s ] [ t ] [ w ]

a

$addr
in file Socket.php, variable Net_Socket::$addr
    The IP address to connect to.
top

b

$blocking
in file Socket.php, variable Net_Socket::$blocking
    Whether the socket is blocking. Defaults to true.
top

c

connect
in file Socket.php, method Net_Socket::connect()
    Connect to the specified port. If called when the socket is already connected, it disconnects and connects again.
top

d

disconnect
in file Socket.php, method Net_Socket::disconnect()
    Disconnects from the peer, closes the socket.
top

e

enableCrypto
in file Socket.php, method Net_Socket::enableCrypto()
    Turns encryption on/off on a connected socket.
eof
in file Socket.php, method Net_Socket::eof()
    Tests for end-of-file on a socket descriptor.
top

f

$fp
in file Socket.php, variable Net_Socket::$fp
    Socket file pointer.
top

g

gets
in file Socket.php, method Net_Socket::gets()
    Get a specified line of data
getStatus
in file Socket.php, method Net_Socket::getStatus()
    Returns information about an existing socket resource.
top

i

isBlocking
in file Socket.php, method Net_Socket::isBlocking()
    Find out if the socket is in blocking mode.
top

l

$lineLength
in file Socket.php, variable Net_Socket::$lineLength
    Number of bytes to read at a time in readLine() and readAll(). Defaults to 2048.
top

n

$newline
in file Socket.php, variable Net_Socket::$newline
    The string to use as a newline terminator. Usually "\r\n" or "\n".
Net_Socket
in file Socket.php, class Net_Socket
    Generalized Socket class.
NET_SOCKET_ERROR
in file Socket.php, constant NET_SOCKET_ERROR
NET_SOCKET_READ
in file Socket.php, constant NET_SOCKET_READ
NET_SOCKET_WRITE
in file Socket.php, constant NET_SOCKET_WRITE
top

p

$persistent
in file Socket.php, variable Net_Socket::$persistent
    Whether the socket is persistent. Defaults to false.
$port
in file Socket.php, variable Net_Socket::$port
    The port number to connect to.
top

r

read
in file Socket.php, method Net_Socket::read()
    Read a specified amount of data. This is guaranteed to return, and has the added benefit of getting everything in one fread() chunk; if you know the size of the data you're getting beforehand, this is definitely the way to go.
readAll
in file Socket.php, method Net_Socket::readAll()
    Read until the socket closes, or until there is no more data in
readByte
in file Socket.php, method Net_Socket::readByte()
    Reads a byte of data
readInt
in file Socket.php, method Net_Socket::readInt()
    Reads an int of data
readIPAddress
in file Socket.php, method Net_Socket::readIPAddress()
    Reads an IP Address and returns it in a dot formatted string
readLine
in file Socket.php, method Net_Socket::readLine()
    Read until either the end of the socket or a newline, whichever comes first. Strips the trailing newline from the returned data.
readString
in file Socket.php, method Net_Socket::readString()
    Reads a zero-terminated string of data
readWord
in file Socket.php, method Net_Socket::readWord()
    Reads a word of data
top

s

Socket.php
procedural page Socket.php
select
in file Socket.php, method Net_Socket::select()
    Runs the equivalent of the select() system call on the socket with a timeout specified by tv_sec and tv_usec.
setBlocking
in file Socket.php, method Net_Socket::setBlocking()
    Sets whether the socket connection should be blocking or not. A read call to a non-blocking socket will return immediately if there is no data available, whereas it will block until there is data for blocking sockets.
setNewline
in file Socket.php, method Net_Socket::setNewline()
    Set the newline character/sequence to use.
setTimeout
in file Socket.php, method Net_Socket::setTimeout()
    Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds
setWriteBuffer
in file Socket.php, method Net_Socket::setWriteBuffer()
    Sets the file buffering size on the stream.
top

t

$timeout
in file Socket.php, variable Net_Socket::$timeout
    Number of seconds to wait on socket operations before assuming there's no more data. Defaults to no timeout.
top

w

write
in file Socket.php, method Net_Socket::write()
    Write a specified amount of data.
writeLine
in file Socket.php, method Net_Socket::writeLine()
    Write a line of data to the socket, followed by a trailing newline.
top

Documentation generated on Mon, 11 Mar 2019 15:53:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.