mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Communication fix and extension.
- Removing unnecessary log flushing. Closes #498. - Adding new BiF disconnect() that shuts a connection to a peer down. - terminate_connection() now first flushes any still buffered log messages.
This commit is contained in:
parent
3b7806379c
commit
d289db34db
5 changed files with 36 additions and 2 deletions
|
@ -34,6 +34,9 @@ public:
|
|||
// Connect to host (returns PEER_NONE on error).
|
||||
PeerID Connect(addr_type ip, uint16 port, const char* our_class, double retry, bool use_ssl);
|
||||
|
||||
// Close connection to host.
|
||||
bool CloseConnection(PeerID peer);
|
||||
|
||||
// Request all events matching pattern from remote side.
|
||||
bool RequestEvents(PeerID peer, RE_Matcher* pattern);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue