Author Topic: is TNET suited for this?  (Read 2348 times)

alexv

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 1
  • Posts: 22
    • View Profile
is TNET suited for this?
« on: July 29, 2016, 08:16:26 PM »
Hey Michael, I'm planning to migrate out of UNET, and since I love ngui, Im considering TNET as a first option, but I'm wondering if its suited for this, I'm basically using unet's Low Level Api.

So I dont need lobby management, var syncing, remote spawning or any automagic on client/server communication for this particular project, I just need to make a dedicated lan server listening for connections on a given port on awindows build and many android clients connecting to it, so there will be clients sending commands to server, and server sending commands to clients, that's it.

and for certain messages I need something like unet's qos "ReliableSequenced" channel, where packet order and packet delivery is guaranteed, what sending options does TNET offer?

any info would be appreciated
thanks michael

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: is TNET suited for this?
« Reply #1 on: July 29, 2016, 09:34:19 PM »
To be honest with you, for something that low level I wouldn't even use a networking addon at all and just stick to simple TCP or UDP client from System.Net.Sockets.

I mean, yes you can use TNet for it, but it would be like streaming audio of morse code through a 4k HDTV.

TNet's packets are always reliable and sequenced because TNet uses TCP as the primary method of communication.

alexv

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 1
  • Posts: 22
    • View Profile
Re: is TNET suited for this?
« Reply #2 on: July 31, 2016, 11:59:54 PM »
thanks michael, I really appreciate your feedback!