Hey,I need to have a client-socket that connects to host and sends message.Also please add BufferingReader read line and PrintWriter.Thank you.
~Alex
Printable View
Hey,I need to have a client-socket that connects to host and sends message.Also please add BufferingReader read line and PrintWriter.Thank you.
~Alex
That's not how this works. We don't just give out free code. Like I said in the private messages we exchanged, read the link on asking smart questions, post an SSCCE that shows what you've tried and where you're stuck, and we'll go from there.
Suggested Reading if you have not already:
Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)