Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
Convert defined IP to IPAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
VolcanicArts committed Mar 8, 2022
1 parent b66c21b commit a2e6ed1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VRCHypeRate/Client/HypeRateClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Net.Sockets;
using System.Net;
using System.Net.Sockets;
using CoreOSC;
using CoreOSC.IO;
using Newtonsoft.Json;
Expand All @@ -12,7 +13,7 @@ namespace VRCHypeRate.Client;
public class HypeRateClient
{
private const string URI = "wss://app.hyperate.io/socket/websocket?token=";
private const string OSCURI = "127.0.0.1";
private static readonly string OSCURI = IPAddress.Loopback.ToString();
private const int OSCPort = 9000;

private readonly string Id;
Expand Down

0 comments on commit a2e6ed1

Please sign in to comment.