Quantcast
Channel: Socket – Examples Java Code Geeks
Viewing all articles
Browse latest Browse all 5

Write text to Socket

$
0
0
In this example we shall show you how to write text to a Socket. To write text to a Socket one should perform the following steps: Get the output stream of the socket, using getOutputStream() API method of Socket. Create an OutputStreamWriter with the socket ouputstream. Create a BufferedWriter that uses a default-sized output buffer. Use ...

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images