Returns the input stream object of the specified socket or url connection object.
Syntax
getInputStream( socket )
socket.getInputStream( )
getInputStream( urlconnection )
urlconnection.getInputStream( )
Parameters
socket
|
the socket object to use.
|
urlconnection
|
the url connection object to use.
|
Returns
inputstream
|
the input stream object.
|
Example
istream = sct.getInputStream( )
|