- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Fields

# activehosts Struct Reference
[Internal Structures and Definitions]

Keeps a list of all the opened connections in the active mode. More...

`#include <pcap-remote.h>`

## Data Fields
sockaddr_storage | host
SOCKET | sockctrl
activehosts * | next

## Detailed Description

Keeps a list of all the opened connections in the active mode.

This structure defines a linked list of items that are needed to keep the info required to manage the active mode. In other words, when a new connection in active mode starts, this structure is updated so that it reflects the list of active mode connections currently opened. This structure is required by findalldevs() and open_remote() to see if they have to open a new control connection toward the host, or they already have a control connection in place.

Definition at line 132 of file pcap-remote.h.

## Field Documentation

struct sockaddr_storage host

Definition at line 134 of file pcap-remote.h.

SOCKET sockctrl

Definition at line 135 of file pcap-remote.h.

struct activehosts* next

Definition at line 136 of file pcap-remote.h.

The documentation for this struct was generated from the following file:

- pcap-remote.h

documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2007 CACE Technologies. All rights reserved.