NWMUDS:ConnectNetwork2

NWMUDS:ConnectNetwork2

Request #

Index WordDescription
0Header code [0x001E0084]
1u8 Connection type: 0x1 = Client, 0x2 = Spectator.
2Passphrase buffer size
3(NetworkStructSize<<12) | 0x402
4Input network struct buffer ptr
5(PassphraseSize<<12) | 2
6Input passphrase buffer ptr

Response #

Index WordDescription
0Header code
1Result code

Description #

This connects to the specified network.

Before using this command official user-processes verify that the passphrase_buf is not NULL, and that PassphraseSize is >=8 and <=0xFF. On fail that user-process code returns 0xE10113FD for that. That user-process code also checks the network attributes bitmask 0x1, see here.