DriveWorks SDK Reference

| 0.6.67 Release

/builds/driveav/dw/sdk/samples/ipc/README.md
Go to the documentation of this file.
1 @page dwx_ipc_socketclientserver_sample Socket Inter-Process Communication Sample
2 
3 The socket inter-process communication sample demonstrates
4 simple IPC functionalities using network sockets.
5 
6 ## Running the Socket Client / Server Sample
7 
8 Sample command line:
9 
10 - Server Process: `./sample_ipc_socketclientserver --role=server --port=49252`
11 - Client Process: `./sample_ipc_socketclientserver --role=client --port=49252 --ip=127.0.0.1`
12 
13 Arguments
14 - `--role` is either "client" or "server" (required).
15 - `--port` is the port the server will listen on / the client will connect to (optional).
16 - `--ip` is the server IP the client connects to (optional).
17 
18 ## Output
19 
20 In the sample the client generates random values, sends them to the server, who echoes them back.