Author Topic: Client send custom Token to Server on connect  (Read 1948 times)

alewbpr

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 5
    • View Profile
Client send custom Token to Server on connect
« on: August 27, 2016, 12:30:28 AM »
how can I get the token returning from my webservice and send to the server?
I want to use it, for when the server detects that the player disconnected send a delete to the webservice!

*sry english

cmifwdll

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 149
  • Posts: 285
  • TNet Alchemist
    • View Profile
Re: Client send custom Token to Server on connect
« Reply #1 on: August 28, 2016, 08:55:52 PM »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Client send custom Token to Server on connect
« Reply #2 on: August 30, 2016, 09:44:05 PM »
I don't quite understand the question... TNet doesn't have anything to do with web services or tokens, so this is all your code. Not much I can suggest. Cmifwdll's suggestion sounds good to me.