Skip to content

Unity freezes when I try to connect to the web socket server #286

@marcomarchesi

Description

@marcomarchesi

I've just started working with websocket-sharp and Unity, I created client and server applications to test it in the same machine. Everything works fine using localhost as local address. Then, I tried to run the server and the client from different machines. Client calls the server with ws://192.168.1.x:8080/something but once I try to play the client from the Unity Editor or from the built app, it freezes for 10-20 seconds but it cannot connect. Currently I'm running the server on a Windows machine and the client on a MacbookPro. If I try to use explicitly an IP address in the same machine for both client and server apps, but I cannot connect. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions