ReplicaNet and RNLobby  1
XboxUDP.h
1 /* START_LICENSE_HEADER
2 
3 Copyright (C) 2000 Martin Piper, original design and program code
4 Copyright (C) 2001 Replica Software
5 
6 This program file is copyright (C) Replica Software and can only be used under license.
7 For more information visit: http://www.replicanet.com/
8 Or email: info@replicanet.com
9 
10 END_LICENSE_HEADER */
11 #include "RNPlatform/Inc/MemoryTracking.h"
12 #ifndef __XBOXUDP_H__
13 #define __XBOXUDP_H__
14 
15 #include <string>
16 
17 namespace RNReplicaNet
18 {
19 
20 namespace XboxUDP
21 {
22 
27 extern std::string CreateSessionURL(const XNADDR &targetAddr,const int channel);
28 
33 extern std::string CreateTransportURL(const XNADDR &otherAddr,const int channel);
34 
36 extern void UseKey(const XNKID &sessionID,const XNKEY &keyExchangeKey);
37 
39 extern void AllowXNetUnregisterInAddr(const bool allow = true);
40 
41 } // namespace XboxUDP
42 
43 } // namespace RNReplicaNet
44 
45 #endif