PITrail Event

Traces the commands sent to the news server, and the respective replies.

Syntax

ANSI (Cross Platform)
virtual int FirePITrail(NNTPPITrailEventParams *e);
typedef struct {
int Direction;
const char *Message; int reserved; } NNTPPITrailEventParams; Unicode (Windows) virtual INT FirePITrail(NNTPPITrailEventParams *e);
typedef struct {
INT Direction;
LPCWSTR Message; INT reserved; } NNTPPITrailEventParams;
- (void)onPITrail:(int)direction :(NSString*)message;
#define EID_NNTP_PITRAIL 8

virtual INT IPWORKS_CALL FirePITrail(INT &iDirection, LPSTR &lpszMessage);

Remarks

The PITrail event is useful for debugging purposes. It shows all the interaction between the client and the server, line by line, except for group listings, group overviews, article header, and article body transfers.

The Message parameter contains the full text of the message. The Direction parameter shows the originator of the message:

0 (Client)The Message originates from the client.
1 (Server)The Message originates from the server.
2 (Info)The Message is an informative message originating from the client software (the class code).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]