I cant seem to be able to set the TcpServer's bindings property at runtime. When setting some values in the object inspector at design time , all is well and I am able to connect the the server with no hassle.
The following code was suggested on Delphi.about.com , but does not seem to have any effect
With idTcpServer1.Bindings.add do
Ip := '10.10.0.22';
Port := 6060;
This code makes sence , the add method adds a TIdSocketHandle instance to a collection of TIdSockethandles , wich are the bindings for the server.
Any help would be appreciated !
Thanx in advance.