sending packets to and from a plugin server/client

Discussion in 'Plugin Development' started by The Zombie Blarger, Nov 21, 2011.

Thread Status:
Not open for further replies.
  1. Im trying to create an administrative plugin that will recieve input from the server, to a client program on my pc. However, i dont know how to do this. Ive been doing a bit of research, and i think i'd be using datagrams.

    Is there anyone here that knows how to create a datagram server/client? i tried looking at the java tutorial on their site, but i cant get the sample server/client's to work :s

    Does anyone have any tips, or maybe a working sample project that i can dissect?

    Many thanks in advance!
     
  2. I think you'd be better off using TCP sockets and not UDP for that situation. It is far easier to start with networking, and would fit your requirements better.

    Google for "java tcp tutorial", and you should get plenty of results to work with, for instance that:
    http://download.oracle.com/javase/tutorial/networking/sockets/
     
Thread Status:
Not open for further replies.

Share This Page