LFS Mods
Friday, 2024.11.22,   08:55   Welcome, Guest | RSS
[ Updated threads · New messages · Members · Forum rules · Search · RSS ]

InSim Relay - Forum

  • Page 1 of 1
  • 1
InSim Relay
@ Admin Male Date: Wednesday, 2023.01.18, 15:44 | Message # 1
Admin
LFS Mods Team
Group: Administrators
Posts: 91
Awards: 0
Reputation: 58
Status: Offline
To use InSim Relay it's a matter of setting the InSimSettings.IsRelayHost property to true.

Code
InSim insim = new InSim();

// Initialize InSim relay
insim.Initialize(new InSimSettings {
    IsRelayHost = true,
};);

// Send host select packet
insim.Send(new IR_SEL { HName = "<insert host name>" };);
(¯·._.·(¯°·._.·°º*[ LFS MODS ]*º°·._.·°¯)·._.·¯)
 
  • Page 1 of 1
  • 1
Search: