Search Unity

SslStream TCPClient

Discussion in 'Windows' started by Fylen, Jul 24, 2013.

  1. Fylen

    Fylen

    Joined:
    Nov 29, 2012
    Posts:
    8
    Hi all,

    we have a game that currently use websocket to perform multiplayer.
    For that, we are using SslStram.

    The problem is that when compiling for WP8, the compiler stop with an error saying `System.Net.Sockets.TcpClient` doesn't exist in target framework.
    And if I choose to not use SslStream, it's the same with TCPClient.

    Do you know how to solve this problem please?
     
  2. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Are you using pro version?
     
  3. Apricot

    Apricot

    Joined:
    Jul 25, 2013
    Posts:
    2
    I also met the same problem, is solved, please?
     
  4. Fylen

    Fylen

    Joined:
    Nov 29, 2012
    Posts:
    8
    Yep, pro version but it's not working as I said :s
     
  5. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,918
  6. Lars-Blaabjerg

    Lars-Blaabjerg

    Joined:
    Apr 5, 2011
    Posts:
    54
    Some classes are not available on Windows Phone 8. I had to write a stream class around Windows.Networking.Sockets.StreamSocket for Windows Phone 8 to get around that.

    You have to do that in a plugin.