accept

accept incoming connection and return corresponding socket


Parameters

accept server :socket

Returns

  • :socket

Examples

copy
server: listen.blocking 18966 print "started server connection..." client: accept server print ["accepted incoming connection from:" client]

Related