socket.io-client-csharp
socket.io-client-csharp copied to clipboard
error CS0118: 'SocketIO' is a namespace but is used like a type
using System;
using System.Threading.Tasks;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Connection: MonoBehaviour
{
public void Start()
{
var client = new SocketIO("http://localhost:11000/");
}
public void Update()
{
}
}
How can I resolve?
use SocketIOClient.SocketIO (with the namespace)