NS services: Difference between revisions
Line 1,358: | Line 1,358: | ||
Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], an u16 port, an u32 Ipv4Address, returns an output Event handle and an [[#IAsyncResult]]. | Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], an u16 port, an u32 Ipv4Address, returns an output Event handle and an [[#IAsyncResult]]. | ||
[[qlaunch]] uses value 55556 for the port. IP is normally a local-WLAN address. | [[qlaunch]] uses value 55556 for the port. IP is normally a local-WLAN address. port/addr are little-endian. | ||
[[NIM_services|NIM]] will use the input addr/port with [[Sockets_services|bind()]]. | |||
== GetSendSystemUpdateProgress == | == GetSendSystemUpdateProgress == | ||
Line 1,526: | Line 1,528: | ||
Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], an u16 port, an u32 Ipv4Address, returns an output Event handle and an [[#IAsyncResult]]. | Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], an u16 port, an u32 Ipv4Address, returns an output Event handle and an [[#IAsyncResult]]. | ||
[[qlaunch]] uses the same value for the port as [[#RequestSendSystemUpdate]]. | [[qlaunch]] uses the same value for the port as [[#RequestSendSystemUpdate]] (see [[#RequestSendSystemUpdate]] for addr as well). | ||
[[NIM_services|NIM]] will use the input addr/port with [[Sockets_services|connect()]]. | |||
This validates the [[#SystemDeliveryInfo]] and generates a [[NCM_services#ContentMetaKey|ContentMetaKey]], and creates the [[#IAsyncResult]] + the async thread which handles the [[#IAsyncResult]] operation. Then the thread does: | This validates the [[#SystemDeliveryInfo]] and generates a [[NCM_services#ContentMetaKey|ContentMetaKey]], and creates the [[#IAsyncResult]] + the async thread which handles the [[#IAsyncResult]] operation. Then the thread does: |