Click here to Skip to main content
15,884,879 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How i can send text message through LAN? Using JAVA
Posted

1 solution

Step1: Create a Socket connected to the specified host and port.
Step 2: Send the specified message through the socket to the server.
Step3: Get an input stream from the socket and declare BufferedReader so that it can read lines of text from the server.

Use the correct packages so that the proper output is produced.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900