Difference between revisions of "Network"
From xboxdevwiki
(→Xbox Live Functions) |
(→Xbox Live Functions) |
||
Line 85: | Line 85: | ||
! description | ! description | ||
|- | |- | ||
− | |XOnlineGetUsers( XBLAccountusers, | + | |XOnlineGetUsers(XONLINE_USER* XBLAccountusers, DWORD* numOfXBLiveAccounts) |
− | | | + | |The XOnlineGetUsers function will enumerate both the hard disk and any attached memory units looking for user accounts |
|- | |- | ||
|XOnlineTaskClose(XONLINETASK_HANDLE logonHandle) | |XOnlineTaskClose(XONLINETASK_HANDLE logonHandle) | ||
− | | | + | |Called to abort the authentication process. |
|- | |- | ||
|XOnlineStartup( XONLINE_STARTUP_PARAMS* ) | |XOnlineStartup( XONLINE_STARTUP_PARAMS* ) | ||
| | | | ||
|- | |- | ||
− | |XOnlineLogon(XONLINE_USER* XBLLoggedOnUsers, DWORD* XBLservices, SERVICE_COUNT, NULL, XONLINETASK_HANDLE &logonHandle) | + | |XOnlineLogon(XONLINE_USER* XBLLoggedOnUsers, DWORD* XBLservices, DWORD SERVICE_COUNT, NULL, XONLINETASK_HANDLE &logonHandle) |
− | | | + | |When a title calls XOnlineLogon to sign in, instead of blocking until the authentication completes, an asynchronous task handle is returned. As part of the authentication process a title must specify which services it will be using (XBLservices, SERVICE_COUNT). |
|- | |- | ||
|XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle) | |XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle) | ||
− | | | + | |Called to check the status of XOnlineLogon. |
|- | |- | ||
|XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle) | |XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle) | ||
Line 104: | Line 104: | ||
|- | |- | ||
|XOnlineGetLogonUsers() | |XOnlineGetLogonUsers() | ||
+ | |This returns a pointer to an array of XONLINE USER structures. This array is similar the XONLINE USER array we populated and passed into XOnlineLogon, but is updated with error status and permission flags for each user. | ||
+ | |- | ||
+ | |XOnlineSetUserGuestNumber(dwUserFlags , 1) | ||
+ | | | ||
+ | |- | ||
+ | |XOnlineTitleUpdate(DWORD) | ||
+ | |The XOnlineTitleUpdate function will boot into an updater application, which performs the actual update | ||
+ | |- | ||
+ | |XOnlineGetServiceInfo(Service, ?) | ||
+ | |XOnlineGetServiceInfo returns the connection status for a service | ||
+ | |- | ||
+ | |XOnlineNotificationSetState | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
| | | | ||
|- | |- |
Revision as of 11:35, 9 May 2017
Contents
Xbox Live infrastructure
Kerberos Authentication Server: macs.xboxlive.com
Kerberos
padata-type | description |
---|---|
131 | ? |
204 | ? |
206 | Information about Xbox Version, Title, and Title version |
Heartbeat
Ethernet II, Src: Microsof_f2:00:00 (00:50:f2:f2:00:00), Dst: Broadcast (ff:ff:ff:ff:ff:ff) MS Network Load Balancing Signature: Unknown (0x584f4258) Version: 1.1 Unique Host ID: 3118682055 Cluster IP: 167.102.81.132 (167.102.81.132) Host IP: 4.89.169.109 (4.89.169.109) Signature Data - Unknown (1481589336)
Xbox Live Functions
function | description |
---|---|
XNetCreateKey(&xnkid, &xnkey) | |
XNetRegisterKey(&xnkid, &xnkey) | Register the session key |
XNetXnAddrToInAddr( pxnaddr, pxnkid, &pseudoIP ) | Convert the address to a winsock usable format |
XNetUnregisterKey( &xbc.SessionID ) | |
XNetGetTitleXnAddr( &hostAddr ) | Gets your XNADDR. Used by syslink, and lots of other people. |
XNetGetEthernetLinkStatus() | |
function | description |
---|---|
XOnlineGetUsers(XONLINE_USER* XBLAccountusers, DWORD* numOfXBLiveAccounts) | The XOnlineGetUsers function will enumerate both the hard disk and any attached memory units looking for user accounts |
XOnlineTaskClose(XONLINETASK_HANDLE logonHandle) | Called to abort the authentication process. |
XOnlineStartup( XONLINE_STARTUP_PARAMS* ) | |
XOnlineLogon(XONLINE_USER* XBLLoggedOnUsers, DWORD* XBLservices, DWORD SERVICE_COUNT, NULL, XONLINETASK_HANDLE &logonHandle) | When a title calls XOnlineLogon to sign in, instead of blocking until the authentication completes, an asynchronous task handle is returned. As part of the authentication process a title must specify which services it will be using (XBLservices, SERVICE_COUNT). |
XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle) | Called to check the status of XOnlineLogon. |
XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle) | |
XOnlineGetLogonUsers() | This returns a pointer to an array of XONLINE USER structures. This array is similar the XONLINE USER array we populated and passed into XOnlineLogon, but is updated with error status and permission flags for each user. |
XOnlineSetUserGuestNumber(dwUserFlags , 1) | |
XOnlineTitleUpdate(DWORD) | The XOnlineTitleUpdate function will boot into an updater application, which performs the actual update |
XOnlineGetServiceInfo(Service, ?) | XOnlineGetServiceInfo returns the connection status for a service |
XOnlineNotificationSetState | |