#include <sockets.h>
Data Fields | |
| gint | file_desc |
| file descriptor | |
| guint32 | flags |
| operating flags | |
| guint | gdk_tag |
| gdk tag | |
| enum socket_direction | direction |
| enum socket_type | type |
| enum net_type | net |
| gboolean | corked |
| gboolean | was_shutdown |
| Set if shutdown() was used. | |
| gint | adns |
| status of ADNS resolution | |
| gchar * | adns_msg |
| ADNS error message. | |
| host_addr_t | addr |
| IP of our partner. | |
| guint16 | port |
| Port of our partner. | |
| guint16 | local_port |
| Port on our side. | |
| time_t | last_update |
| Timestamp of last activity on socket. | |
| wrap_io | wio |
| Wrapped IO object. | |
| union { | |
| gnutella_node * node | |
| download * download | |
| upload * upload | |
| pproxy * pproxy | |
| cproxy * cproxy | |
| gpointer handle | |
| } | resource |
| getline * | getline |
| Line reader object. | |
| gchar | buffer [SOCK_BUFSZ] |
| buffer to put in the data read | |
| size_t | pos |
| write position in the buffer | |
|
|
IP of our partner.
|
|
|
status of ADNS resolution
|
|
|
ADNS error message.
|
|
|
buffer to put in the data read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file descriptor
|
|
|
operating flags
|
|
|
gdk tag
|
|
|
Line reader object.
|
|
|
|
|
|
Timestamp of last activity on socket.
|
|
|
Port on our side.
|
|
|
|
|
|
|
|
|
Port of our partner.
|
|
|
write position in the buffer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set if shutdown() was used.
|
|
|
Wrapped IO object.
|
1.3.6