Previous: Sockets.StreamSocket-printing, Up: Sockets.StreamSocket [Index]
Answer whether more data is available on the socket
Answer how many bytes are available in the socket’s read buffer or from the operating system.
Answer the current contents of the read buffer
Answer whether more data is available in the socket’s read buffer or from the operating system.
Flush and close the socket.
Fill the read buffer with data read from the socket
Answer whether the connection with the peer remote machine is still valid.
Read a byte from the socket. This might yield control to other Smalltalk Processes.
Read a byte from the socket, without advancing the buffer; answer nil if no more data is available. This might yield control to other Smalltalk Processes.
Read a byte from the socket, advancing the buffer only if it matches anObject; answer whether they did match or not. This might yield control to other Smalltalk Processes.
Create a new read buffer of the given size (which is only possible before the first read or if the current buffer is empty).