Need some advice with socket communication

Discussion in 'Plugin Development' started by Hedgehog, Jun 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Hedgehog

    Im in the middle of a developing a plugin for admins to control a bukkit server remotely.

    I have decided to use xml to send info back and forth.


    Now I need some advice on how to handle the communication server side. atm i just have one big function that handle the commands and compiles an xml string that i then send to the client, but I feel that this will not work as the command list grows, so I would like to know what would be a better alternative.
     
  2. Offline

    Jayjay110

    Google it, but instead of bukkit, do java :p
     
  3. Offline

    Hedgehog

    I know it has nothing to do with bukkit, but I was just looking for some advice before I started doing all of the commands, so I didnt have to redo it later.

    I might not have made myself clear, I have done the actual socket programming. Now I need to handle the request on the server and atm its all jumbled in a if-else block and I just feel it can be done better
     
  4. Offline

    Jayjay110

    Well, I dont know anything about this but I believe that if you post a source or pm me the source ill see what I can do

    p.s: If you send me it you can trust me not to leak it out lol :p
     
  5. Offline

    Lolmewn

    I am looking forward to something like this, will it support iOS?
     
  6. Offline

    Hedgehog

    It can, but I am not going to develop an app, but the plan is to making somthing robust serverside so any language suporting sockets will be able to connect to it.

    I am going to focus on php client side but as I said anything that suport sockets will be able to use it, thats the plan anyways :).
     
    Jayjay110 likes this.
Thread Status:
Not open for further replies.

Share This Page