Next: , Previous: Sockets.AbstractSocketImpl-C constants, Up: Sockets.AbstractSocketImpl


6.2.9 Sockets.AbstractSocketImpl: socket operations

accept: implementationClass
Accept a connection on the receiver, and create a new instance of implementationClass that will deal with the newly created active server socket.


bindTo: ipAddress port: port
Bind the receiver to the given IP address and port. `Binding' means attaching the local endpoint of the socket.


fileOp: ioFuncIndex
Private - Used to limit the number of primitives used by FileStreams


fileOp: ioFuncIndex ifFail: aBlock
Private - Used to limit the number of primitives used by FileStreams.


fileOp: ioFuncIndex with: arg1
Private - Used to limit the number of primitives used by FileStreams


fileOp: ioFuncIndex with: arg1 ifFail: aBlock
Private - Used to limit the number of primitives used by FileStreams.


fileOp: ioFuncIndex with: arg1 with: arg2
Private - Used to limit the number of primitives used by FileStreams


fileOp: ioFuncIndex with: arg1 with: arg2 ifFail: aBlock
Private - Used to limit the number of primitives used by FileStreams.


fileOp: ioFuncIndex with: arg1 with: arg2 with: arg3
Private - Used to limit the number of primitives used by FileStreams


fileOp: ioFuncIndex with: arg1 with: arg2 with: arg3 ifFail: aBlock
Private - Used to limit the number of primitives used by FileStreams.


getSockName
Retrieve a ByteArray containing a sockaddr_in struct for the local endpoint of the socket.


listen: backlog
Make the receiver a passive server socket with a pending connections queue of the given size.