Implemented file sending during BINKP and EMSI sessions
This commit is contained in:
@@ -233,8 +233,17 @@ final class SocketClient {
|
||||
*/
|
||||
public function close(): void
|
||||
{
|
||||
socket_shutdown($this->connection);
|
||||
socket_close($this->connection);
|
||||
try {
|
||||
socket_shutdown($this->connection);
|
||||
} catch (\ErrorException $e) {
|
||||
Log::error(sprintf('%s:+ Shutting down socket [%s]',self::LOGKEY,$e->getMessage()));
|
||||
}
|
||||
|
||||
try {
|
||||
socket_close($this->connection);
|
||||
} catch (\ErrorException $e) {
|
||||
Log::error(sprintf('%s:+ Closing socket [%s]',self::LOGKEY,$e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user