Previous: , Up: Sockets.Socket   [Index]


6.19.4 Sockets.Socket: stream protocol

canWrite

Answer whether more data is available in the socket’s read buffer or from the operating system.

ensureWriteable

Answer whether more data is available in the socket’s read buffer or from the operating system.

flush

Flush the write buffer to the operating system

next: n putAll: aCollection startingAt: pos

Write aString to the socket; this acts as a bit-bucket when the socket is closed. This might yield control to other Smalltalk Processes.

nextPut: char

Write a character to the socket; this acts as a bit-bucket when the socket is closed. This might yield control to other Smalltalk Processes.

writeBufferSize: size

Create a new write buffer of the given size, flushing the old one is needed. This might yield control to other Smalltalk Processes.