| Description | Hierarchy | Fields | Methods | Properties | 
type unaSTUNClient_req = class(unaObject)
STUN Client request
![]()  | 
constructor create(method: int; attrs: pointer; len: int; socket: unaSocket = nil; event: tHandle = 0); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function sameTrans(hdr: punaSTUN_hdr): bool; | 
![]()  | 
property event: tHandle read f_event; | 
![]()  | 
property fatalError: bool read f_fatalError; | 
![]()  | 
property request: punaSTUN_hdr read f_data; | 
![]()  | 
property response: punaSTUN_hdr read f_response; | 
![]()  | 
property socket: unaSocket read f_socket; | 
![]()  | 
constructor create(method: int; attrs: pointer; len: int; socket: unaSocket = nil; event: tHandle = 0); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function sameTrans(hdr: punaSTUN_hdr): bool; | 
| 
 Check if hdr has same transaction ID as request If same, will also store hdr as response 
 Parameters
 ReturnsTrue if transaction id is the same  | |
![]()  | 
property event: tHandle read f_event; | 
| 
 Event to set when response is received  | |
![]()  | 
property fatalError: bool read f_fatalError; | 
| 
 True if no response was received and some fatal error occured (like server is down)  | |
![]()  | 
property request: punaSTUN_hdr read f_data; | 
| 
 Original request  | |
![]()  | 
property response: punaSTUN_hdr read f_response; | 
| 
 Response  | |
![]()  | 
property socket: unaSocket read f_socket; | 
| 
 External socket  | |
(c) 2012 Lake of Soft