IS ISM

From LFS Manual
Jump to navigationJump to search

Introduction

The InSim Multi packet provides information about a host when it is created or joined. It is also sent when loading a multiplayer replay or as a reply to a TINY_ISM.

IS_ISM packet properties
Type Name Description
byte Size 40
byte Type ISP_ISM
byte ReqI usually 0 / or if a reply: ReqI as received in the TINY_ISM
byte Zero
byte Host 0 = guest / 1 = host
byte Sp1
byte Sp2
byte Sp3
char HName[32] the name of the host joined or started

Packet Details

Size

The size of the packet is always 40 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_ISM.

ReqI

ReqI is equal to zero if LFS sent the packet automatically, otherwise it is equal to the value provided to the TINY_ISM.

Host

Whether the host was joined as a guest (0) or the host (1).

HName

The name of the host that was joined or started.