Next Previous Up Top Contents Index

10.4.3 The <TCP-SERVER-SOCKET> class

accept

G.f. method

accept server-socket #rest args #key element-type => connected-socket 

This method on accept takes an instance of type <tcp-server-socket> and returns a connected instance of <tcp-socket>. The element-type: keyword controls the element type of the <tcp-socket> (stream) returned from accept. If the keyword is not supplied, the default value used is #f. The other keyword arguments are passed directly to the creation of the <tcp-socket> instance.

System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index