I’m attempting to use dummynet for some simple networking (just sending a file in packets between a sender and receiver). Now, from what I can see, this is relatively simple. The problem is that I have to write the sender and receiver classes as .java files and I’m not sure how to do this, nor can I find any documentation online about this (maybe it’s just really easy and I’m being an idiot).
Anyway, does anyone have links to any good tutorials or examples of this kind of thing?
Thanks.
If it’s just a TCP/IP client/server application sample you’re trying to write, there might be some sample code at this link:
http://docs.oracle.com/javase/tutorial/networking/sockets/