00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __XBOXUDP_H__
00012 #define __XBOXUDP_H__
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014
00015 #include <string>
00016
00017 namespace RNReplicaNet
00018 {
00019
00020 namespace XboxUDP
00021 {
00022
00027 extern XPURLDLL_API std::string CreateSessionURL(const XNADDR &targetAddr,const int channel);
00028
00033 extern XPURLDLL_API std::string CreateTransportURL(const XNADDR &otherAddr,const int channel);
00034
00036 extern XPURLDLL_API void UseKey(const XNKID &sessionID,const XNKEY &keyExchangeKey);
00037
00039 extern XPURLDLL_API void AllowXNetUnregisterInAddr(const bool allow = true);
00040
00041 }
00042
00043 }
00044
00045 #endif