Interface Stream
access this type via: net.Stream (provides, requires or uses)
This is a base type API which other stream-based socket I/O interfaces inherit from. This API does not have an implementation by itself.
Functions
byte[] recv(int n)
int send(byte dat[])
byte[] recv(int n)
Wait for n bytes of data to be received, or for the connection to be terminated.
int send(byte dat[])
Send the given data on the stream; the return value is how many bytes have been successfully buffered by the protocol.