Home > comp > gb.net > serversocket > .connection 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
ServerSocket.Connection (gb.net)
Event Connection ( RemoteHostIP As String )

When a client tries to connect to server, this Události will raise.

This is the only point in the code in which you can accept or reject that connection. To accept a connection and begin to work with it, use into that even the Accept Metody . To reject it, simply do nothing, let the event pass, and connection with that client will be closed

RemoteHostIP parameter is the IP of the client that is trying to establish a connection.