delRoom - Closure of the room
XML request, sent by the client to the server
<protocol>
      <delRoom name="d22" [sid="2"]/>
</protocol>
                    
Attribute
Meaning
name
Name of the room we want to close.
Note: The room can only be closed by the same client that created it. If the client is logged off from the XML Socket Multiuser Server all the rooms that were created, are closed. Other clients are informed about that using the XML function delRoom.
XML response of the server to the client
<protocol>
      <response action="delRoom" errorCode="0" [sid="2"]/>
</protocol>
                    
errorCode
Error description
111
A room with this name does not exist in the domain.
112
You don't have the right to close this room.
113
The message about cancellation of the room could not be sent to all clients.
XML message of the server to other clients
<protocol>
      <received action="delRoom" name="d27"/>
</protocol>
                        
Attribute
Meaning
name
Name of the cancelled room.
Note: If the deleted room is non-public, only clients logged in this room will receive the message. Other clients will not receive it.