>> Ressourcen > Archiv > Maurer H. (Ed.)[..] > F Hyper-G Clien[..] > F.3 Description[..] > F.3.6 Command 8[..]

ErstesErstesVorherigesNächstesLetztes 33/37

F.3.6 Command 8: GETANCHORS

GETANCHORS command@GETANCHORS command

Send
int docID

Recv
int error, int count, int anchIDs[]

Description
Returns a list of anchors that are attached to the given document (docID). There is no distinction between source and destination anchors. You need to fetch the anchor object to determine whether a given anchor is a source or destination anchor (TAnchor=Src or TAnchor=Dest).

Errors
If the given docID is not the object ID of a document, or no anchors are attached, a count of 0 is returned. If error is not zero, an error has occurred, for example:

RSERV_NRESP Remote server not responding

See Section F.4 for a list of all possible error codes.