Author Topic: A few questions about TNet 3  (Read 4233 times)

redpath

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
A few questions about TNet 3
« on: March 25, 2016, 12:11:31 AM »
Hey there. I had a few questions about TNet.

1. The TNet page says "Other platforms may have limitations. iOS may not support some advanced reflection functionality." Realistically, how does this affect iOS? Do most users have trouble using TNet with iOS? I don't imagine it would affect the majority of users using TNet but are there other limitations not included in that tidbit that would be good to know?

2. Does TNet still support cross platform multiplayer? Can iOS users and Android users play together?

3. Can the TNet server be used to make a relay server? I'm not asking if it supports this functionality out of the box but is there a limitation or would it be impractical to use the TNet server as a relay server?


Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A few questions about TNet 3
« Reply #1 on: March 27, 2016, 03:28:12 AM »
1. Depends on how heavily you'll rely on reflection I suppose. I have not had a chance to test this extensively. Runtime code execution isn't possible on iOS due to their restrictions, I know that much...

2. Yup. Just a note, if using LAN discovery, iOS doesn't use multi-casting by default while other platforms do. You can force it via UdpProtocol.useMulticasting.

3. TNet server is a relay server. Messages arrive and get forwarded to their destination. You'll need to be more specific.

redpath

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: A few questions about TNet 3
« Reply #2 on: March 27, 2016, 04:12:50 AM »
3. TNet server is a relay server. Messages arrive and get forwarded to their destination. You'll need to be more specific.

Thanks for taking the time to answer my questions. Looking at UNet, unet allows developers to use the Unity relay server to facilitate communication between users. Does the TNet server serve that same functionality with the exception that I'm supposed to host the server myself?

« Last Edit: March 27, 2016, 04:31:24 AM by redpath »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A few questions about TNet 3
« Reply #3 on: March 27, 2016, 07:35:35 AM »
Yup. TNet's executable is 156 kb. I've had players run servers on devices as tiny as Raspberry Pi in the past.