-
Notifications
You must be signed in to change notification settings - Fork 0
class Socket
www/php-ircbot/Classes/Library/IRC/Connection/Socket.php
IRCBot\Library
- Daniel Siepmann [email protected]
server() |
No constants found
__destruct() | connect() | disconnect() | getData() | isConnected() | sendData() | setPort() | setServer() |
The port of the server you want to connect to.
private $port : int
Array
The server you want to connect to.
public $server : string
Array
The TCP/IP connection.
private $socket : \Library\IRC\Connection\type
Array
Close the connection.
- Inherited from \Library\IRC\Connection\Socket
public __destruct() : mixed
Establishs the connection to the server.
- Inherited from \Library\IRC\Connection\Socket
public connect() : mixed
Disconnects from the server.
- Inherited from \Library\IRC\Connection\Socket
public disconnect() : bool
Returns data from the server.
- Inherited from \Library\IRC\Connection\Socket
public getData() : string|bool
Check wether the connection exists.
- Inherited from \Library\IRC\Connection\Socket
public isConnected() : bool
Interaction with the server.
For example, send commands or some other data to the server.
- Inherited from \Library\IRC\Connection\Socket
public sendData(mixed $data) : int|bool
Sets the port.
E.g. 6667
- Inherited from \Library\IRC\Connection\Socket
public setPort(int $port) : mixed
Sets the server.
E.g. irc.quakenet.org or irc.freenode.org
- Inherited from \Library\IRC\Connection\Socket
public setServer(string $server) : mixed
\ » Classes » Socket
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.