mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:47:43 +00:00
TCP: Start working on auto-closing connections when we get FIN.
This commit is contained in:
parent
4629272135
commit
25e521f510
6 changed files with 35 additions and 6 deletions
|
@ -51,6 +51,7 @@ protected:
|
|||
virtual int protocol_send(const void*, int) { return -ENOTIMPL; }
|
||||
virtual KResult protocol_connect() { return KSuccess; }
|
||||
virtual void protocol_allocate_source_port() { }
|
||||
virtual bool protocol_is_disconnected() const { return false; }
|
||||
|
||||
private:
|
||||
virtual bool is_ipv4() const override { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue