public class SocketTextStreamWordCount extends Object
To start an example socket text stream on your local machine run netcat from
a command line: nc -lk 9999, where the parameter specifies the
port number.
Usage:
SocketTextStreamWordCount <hostname> <port> <result path>
This example shows how to:
| Constructor and Description |
|---|
SocketTextStreamWordCount() |
Copyright © 2015 The Apache Software Foundation. All rights reserved.