new_connection


Description:

public virtual signal void new_connection (Socket new_sock)

Emitted when a listening socket (set up with listen) receives a new connection.

You must ref the new if you want to keep it; otherwise it will be destroyed after the signal is emitted.

Parameters:

new

the new socket