PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
raklib\generic\Socket Class Reference
+ Inheritance diagram for raklib\generic\Socket:
+ Collaboration diagram for raklib\generic\Socket:

Public Member Functions

 close ()
 
 getLastError ()
 
 getSocket ()
 
 setBlocking (bool $blocking)
 
 setRecvBuffer (int $size)
 
 setRecvTimeout (int $seconds, int $microseconds=0)
 
 setSendBuffer (int $size)
 

Protected Member Functions

 __construct (bool $ipv6)
 

Protected Attributes

Socket $socket
 

Detailed Description

Definition at line 36 of file Socket.php.

Constructor & Destructor Documentation

◆ __construct()

raklib\generic\Socket::__construct ( bool $ipv6)
protected
Exceptions
SocketException

Definition at line 42 of file Socket.php.

Member Function Documentation

◆ close()

raklib\generic\Socket::close ( )

Definition at line 58 of file Socket.php.

◆ getLastError()

raklib\generic\Socket::getLastError ( )

Definition at line 62 of file Socket.php.

◆ getSocket()

raklib\generic\Socket::getSocket ( )

Definition at line 54 of file Socket.php.

◆ setBlocking()

raklib\generic\Socket::setBlocking ( bool $blocking)

Definition at line 93 of file Socket.php.

◆ setRecvBuffer()

raklib\generic\Socket::setRecvBuffer ( int $size)
Returns
$this

Definition at line 78 of file Socket.php.

◆ setRecvTimeout()

raklib\generic\Socket::setRecvTimeout ( int $seconds,
int $microseconds = 0 )
Returns
$this

Definition at line 87 of file Socket.php.

◆ setSendBuffer()

raklib\generic\Socket::setSendBuffer ( int $size)
Returns
$this

Definition at line 69 of file Socket.php.

Member Data Documentation

◆ $socket

Socket raklib\generic\Socket::$socket
protected

Definition at line 37 of file Socket.php.


The documentation for this class was generated from the following file: