Search Unity

Winsock Server?

Discussion in 'Multiplayer' started by havalito, Feb 14, 2010.

  1. havalito

    havalito

    Joined:
    Feb 14, 2010
    Posts:
    2
    Hi I have been searching around for this but can't seem to find any docs about it, so my question is
    Can you create a normal Winsock TCP server? so that you can communicate with other softwares.

    Best regards
     
  2. Quietus2

    Quietus2

    Joined:
    Mar 28, 2008
    Posts:
    2,058
    Not a winsock server in particular. But a socket server yes. There are a few examples on the wiki of users doing this.

    http://www.unifycommunity.com/wiki/index.php?search=tcp&go=Go

    The only caveat is that you can't spin your networking code into a separate thread reliably. The threading in the version of Mono Unity uses is bug ridden.