views:

61

answers:

1

Hello. I need to get connection ID from ServerSocket. By client I send text and I need to know which client sended text. Any ideas??

A: 

I am thinking that he is referring to the handle of the socket

procedure TForm1.srvrsckt1ClientConnect(Sender: TObject;
  Socket: TCustomWinSocket);
  var connectedClientSockHandle : Integer;
begin
  connectedClientSockHandle := socket.Handle;
end;
GX