-
Notifications
You must be signed in to change notification settings - Fork 74
Net SocketSetAdd
Tangent 128 edited this page Mar 28, 2015
·
3 revisions
Add a socket to the set.
Note: This function will reference the socket in the registry and will not be garbage collected if the owner of the socket delete it. The reference will be removed when the set is destroyed or when the user remove the reference using Set:del.
length, err = function Set:add(s)
- length, the number of sockets in the set
- err, the error message