ACI:GetConnectingNetworkMtu: Difference between revisions

2670QM (talk | contribs)
No edit summary
2670QM (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
=Description=
=Description=
Return the current access point to MTU value.
Return the current access point to MTU value.
If the 3DS is connected to the internet, return current access point MTU value.
If the 3DS is connected to the internet, return the current access point's MTU value.
If the 3DS isn't connected to the internet, return last connected access point MTU value.
If the 3DS isn't connected to the internet, return the last connected access point's MTU value.
(If the 3DS has never connected to any access point return 0)
(If the 3DS has never connected to any access point return to 0)


=Example=
=Example=
Line 43: Line 43:


printf("MTU value : %ld", cache_buffer[2]);
printf("MTU value : %ld", cache_buffer[2]);
svcCloseHandle(share_ac_handle);