_Added in 1.9.0_
*on :SOCKLISTEN:name:*
Triggers when someone tries to connect to a port that you are listening on using [[/socklisten]].
_See also [[on SOCKOPEN]], [[on SOCKCLOSE]], [[on SOCKREAD]], [[on SOCKWRITE]], [[/socklisten]], [[/sockopen]], [[/sockaccept]], [[$sock]], [[$sockbr]], [[$sockerr]], [[$sockname]]._
*Parameters*
- The level for the event to trigger.
- The [[$sockname]] to listen to.
- The commands to be performed when the event listener's criteria is met.
*Example*
; Listen for requests to port 4242.
/socklisten adiirc 4242
; When someone is connecting, accept the connection.
on *:SOCKLISTEN:adiirc:{
/sockaccept name
}