timer, socket, and thread
I need to write a code that will open and write on/to a socket in less than two minutes. what classes should i have? I know I need the timer and socket, but which one should i use first? open a socket first than create a timer, or the other way? I'm new to this all OO stuff
> I need to write a code that will open and write on/to
> a socket in less than two minutes.
?
> what classes
> should i have? I know I need the timer and socket,
> but which one should i use first? open a socket first
> than create a timer, or the other way? I'm new to
> this all OO stuff
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/docs/books/tutorial/essential/concurrency/
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Tech/Chapter08/timers.html
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
jverda at 2007-7-28 18:59:26 >
