mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 09:53:38 +02:00
Connection: Add negotiation phase
This commit is contained in:
parent
85e143fd11
commit
9cf99e0bcd
3 changed files with 12 additions and 3 deletions
|
@ -13,10 +13,11 @@ class agent;
|
|||
class connection {
|
||||
public:
|
||||
int fd;
|
||||
bool negotiation;
|
||||
bool error;
|
||||
|
||||
connection(int fd_)
|
||||
: fd(fd_), error(false)
|
||||
: fd(fd_), negotiation(true), error(false)
|
||||
{
|
||||
spawn_thread();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue