Fixed SSL and TCP Bind.

This commit is contained in:
2025-05-22 07:05:11 -07:00
parent f52afe9c92
commit fbd8464043
5 changed files with 52 additions and 16 deletions

View File

@@ -150,6 +150,8 @@ namespace ehs
virtual bool IsIPv6Only() const = 0;
virtual void SetReuse(const bool &enabled) = 0;
/// Retrieves whether or not this socket was initialized.
/// @returns The result.
virtual bool IsValid() const = 0;

View File

@@ -23,7 +23,7 @@ namespace ehs
SSL();
SSL(const IP type);
SSL(const IP &type);
SSL(TCP&& tcp) noexcept;
@@ -39,6 +39,8 @@ namespace ehs
void Bind(const Str_8& address, unsigned short port) override;
void Listen() override;
SSL* Accept() override;
void Connect(const Str_8& address, const UInt_16 port) override;

View File

@@ -84,6 +84,8 @@ namespace ehs
bool IsIPv6Only() const override;
void SetReuse(const bool &value) override;
bool IsValid() const override;
private: