Results 1 to 2 of 2

Thread: DXPlay

  1. #1

    DXPlay

    I have host and client. On host I send messages with this:
    DXPlay1.SendMessage(DPID_ALLPLAYERS,msg,msgsize);

    How to send message from client to host?
    www.netsoccer.biz

  2. #2

    DXPlay

    Hi!

    Well as far as I know DPID_ALLPLAYERS send a message to all players, setting the "to" field instead of DPID_ALLPLAYERS to 1..x sends the message to that player, relative to the client's DXPlay1.PLAYERS list.

    Note that the server and the clients have different lists, so sending to 1 could mean you are sending the message to host from example client1, but from client4 it would send the message to client2.

    Hope that helps.

    Now here's what you can do in return. Should you come accorss how to send a file using DXPlay please let me know. I don't want to send files around with Indy.

    TnX!

    BojZ
    What echoes in Eternity has been done in someone's life...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •