Accept Server Socket Connection
socko2 = socko:accept()
Accept an incoming connection request on the listening socket.
Parameter | Type | Description |
---|---|---|
socko |
object | The server listening socket |
Returns | Type | Description |
---|---|---|
socko2 |
object | The tcp_client style socket object that represents this new connection. |
See: socket.new (tcp_server
)
Only appilcable to tcp_server
sockets.