mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-06 06:43:52 +00:00
Off loaded G2 Nat Traversal to specific handler class
G2 Nat traversal handling in its own class This might serve as a starting point for upcoming DExtra/DCS/DPlus traversal
This commit is contained in:
parent
d6cfc2552f
commit
51c734faa7
8 changed files with 150 additions and 6 deletions
|
|
@ -147,7 +147,7 @@ CAMBEData* CG2ProtocolHandler::readAMBE(in_addr remoteAddress, unsigned int remo
|
|||
return data;
|
||||
}
|
||||
|
||||
void CG2ProtocolHandler::punchUDPHole(const wxString& address)
|
||||
void CG2ProtocolHandler::traverseNat(const wxString& address)
|
||||
{
|
||||
unsigned char buffer[1];
|
||||
::memset(buffer, 0, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue