Author Topic: Server how to send to message to client ,any one help me,Thanks  (Read 3368 times)

fingerx

  • Guest
Server how to send to message to client ,any one help me,Thanks
« on: January 04, 2014, 11:21:48 AM »
Hello everyone, I am a beginner. Can anyone tell me how the server to the client sends news? Clients how to get the message? Who can give me an example? Thanks very much everyone!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Server how to send to message to client ,any one help me,Thanks
« Reply #1 on: January 04, 2014, 12:41:32 PM »
I have no idea what you're asking... what news...?

fingerx

  • Guest
Re: Server how to send to message to client ,any one help me,Thanks
« Reply #2 on: January 05, 2014, 01:09:15 AM »
I have no idea what you're asking... what news...?


Thanks ArenMook,I'm sorry, I'm bad English. I want to know is how the server sends a message or custom packet to the client?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Server how to send to message to client ,any one help me,Thanks
« Reply #3 on: January 05, 2014, 09:18:17 AM »
You can accomplish everything without having to modify the server to send custom packets like that.

Use RFCs. Clients send messages to other clients through the server. Server doesn't do much on its own. It's not supposed to.