Listens for a connection to be made on the specified server socket and returns the socket object for the connection made on the specified server socket.
Syntax
accept( serversocket )
serversocket.accept( )
Parameters
serversocket
|
the socket server to use.
|
Returns
socket
|
the socket object for the connection.
|
Example
s = ss.accept( )
|