int error = GetConnectionInfo(APTR handle, struct hwTagList *tags);
handle
. It will pass a tag list to GetConnectionInfo()
that will contain one or
more of the following tags, describing the information Hollywood would like to obtain:
HWCONNINFOTAG_LOCALIP:
pData
member of this tag. The maximum length is
256 bytes bytes.
HWCONNINFOTAG_LOCALPORT:
pData
member which will contain a
pointer to an int
.
HWCONNINFOTAG_REMOTEIP:
pData
member of this tag. The maximum length is
256 bytes bytes.
HWCONNINFOTAG_REMOTEPORT:
pData
member which will contain a
pointer to an int
.
HWCONNINFOTAG_DOWNLOADSIZE:
HWOPENCONNTAG_CUSTOMPROTOCOL
to True
in OpenConnection().
In that case, the pData
member of this tag will be a pointer to a DOSINT64
and you have
to write the total number of bytes to be downloaded to this pointer. (V9.0)
HWCONNINFOTAG_DOWNLOADCOUNT:
HWOPENCONNTAG_CUSTOMPROTOCOL
to True
in OpenConnection().
In that case, the pData
member of this tag will be a pointer to a DOSINT64
and you have
to write the total number of bytes already downloaded to this pointer. (V9.0)
HWCONNINFOTAG_UPLOADSIZE:
HWOPENCONNTAG_CUSTOMPROTOCOL
to True
in OpenConnection().
In that case, the pData
member of this tag will be a pointer to a DOSINT64
and you have
to write the total number of bytes to be uploaded to this pointer. (V9.0)
HWCONNINFOTAG_UPLOADCOUNT:
HWOPENCONNTAG_CUSTOMPROTOCOL
to True
in OpenConnection().
In that case, the pData
member of this tag will be a pointer to a DOSINT64
and you have
to write the total number of bytes already uploaded to this pointer. (V9.0)