Static Public Member Functions | |
static void | Archive (Archiver &archiver, nAddress &trueAddress) |
static bool | Archive (int &ret, nAddress &trueAddress) |
Definition at line 1559 of file nSocket.cpp.
static void BindArchiver< Archiver >::Archive | ( | Archiver & | archiver, | |
nAddress & | trueAddress | |||
) | [inline, static] |
Definition at line 1562 of file nSocket.cpp.
Referenced by nSocket::Bind().
01562 { 01563 public: 01564 static void Archive( Archiver & archiver, nAddress & trueAddress ) 01565 { 01566 // byte-archive the address 01567 struct sockaddr * addr = static_cast< struct sockaddr * >( trueAddress ); 01568 unsigned char * addr_char = reinterpret_cast< unsigned char *>( addr ); 01569 for( int i = sizeof( sockaddr )-1; i>=0; --i ) 01570 archiver.Archive( addr_char[i] ).DontSeparate(); 01571
static bool BindArchiver< Archiver >::Archive | ( | int & | ret, | |
nAddress & | trueAddress | |||
) | [inline, static] |
Definition at line 1573 of file nSocket.cpp.
01576 { 01577 // start archive block if archiving is active 01578 Archiver archive; 01579 if ( archive.Initialize( recordingSection ) ) 01580 { 01581 archive.Archive( ret ); 01582 archive.Archive( trueAddress ); 01583 //Archive( archive, trueAddress ); 01584 01585 return true; 01586 } 01587