Element index for package Net_Socket2
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ n ]
[ p ]
[ r ]
[ s ]
[ t ]
[ w ]
top
b
- $blocking
- in file Socket2.php, variable Net_Socket2::$blocking
Whether the socket is blocking. Defaults to true.
top
c
- connect
- in file Socket2.php, method Net_Socket2::connect()
Connect to the specified port. If called when the socket is already connected, it disconnects and connects again.
top
top
top
top
top
top
l
- $lineLength
- in file Socket2.php, variable Net_Socket2::$lineLength
Number of bytes to read at a time in readLine() and readAll(). Defaults to 2048.
top
n
- $newline
- in file Socket2.php, variable Net_Socket2::$newline
The string to use as a newline terminator. Usually "\r\n" or "\n".
- Net_Socket2
- in file Socket2.php, class Net_Socket2
Generalized Socket class.
top
top
r
- READ
- in file Socket2.php, class constant Net_Socket2::READ
- read
- in file Socket2.php, method Net_Socket2::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 Socket2.php, method Net_Socket2::readAll()
Read until the socket closes, or until there is no more data in
- readByte
- in file Socket2.php, method Net_Socket2::readByte()
Reads a byte of data
- readInt
- in file Socket2.php, method Net_Socket2::readInt()
Reads an int of data
- readIPAddress
- in file Socket2.php, method Net_Socket2::readIPAddress()
Reads an IP Address and returns it in a dot formatted string
- readLine
- in file Socket2.php, method Net_Socket2::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 Socket2.php, method Net_Socket2::readString()
Reads a zero-terminated string of data
- readWord
- in file Socket2.php, method Net_Socket2::readWord()
Reads a word of data
top
s
- Socket2.php
- procedural page Socket2.php
- select
- in file Socket2.php, method Net_Socket2::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 Socket2.php, method Net_Socket2::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 Socket2.php, method Net_Socket2::setNewline()
Set the newline character/sequence to use.
- setTimeout
- in file Socket2.php, method Net_Socket2::setTimeout()
Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds
- setWriteBuffer
- in file Socket2.php, method Net_Socket2::setWriteBuffer()
Sets the file buffering size on the stream.
top
t
- $timeout
- in file Socket2.php, variable Net_Socket2::$timeout
Number of seconds to wait on socket operations before assuming there's no more data. Defaults to no timeout.
top
top
Documentation generated on Mon, 11 Mar 2019 16:01:42 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|