z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Client/server socket programs: Testing a program using a miscellaneous server

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

To test your program using either a stream or a datagram socket session, you can use the MISCSERV server. You must start MISCSERV before a client application can connect to it. If Ports 7, 9, or 19 are used by another application, or using another copy of MISCSERV, this MISCSERV command cannot operate properly. Available MISCSERV servers are:

Tool
Server description
Echo
Specify Port 7 when you want MISCSERV to return data exactly as it is received (stream and datagram sessions).
Discard
Specify Port 9 when you want MISCSERV to discard the data.
Character Generator
Specify Port 19 when you want MISCSERV to return random data regardless of the data it receives. For a stream session, data is returned continuously until you end the session; the received data stream is discarded. For a datagram session, random data is returned for each datagram received; the received datagram is discarded.
Note: The server uses MAXSOC=50. This value limits the sockets available to the server.

For more information, see RFC 862, RFC 863, RFC 864, and the z/OS Communications Server: IP Configuration Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014