Melih OZAL
2008-07-02 19:44:12 UTC
I have two binding on a TCPServer and i want to stop and start any of them
but it seems to be imposible.
To stop a binding i use TCPServer.Bindings[1].Closesocket; and it works.
To start a binding
TCPServer.Bindings[1].AllocateSocket;
TCPServer.Bindings[1].Bind;
TCPServer.Bindings[1].Listen;
But this is not working. I can connect to the binding but OnConnect does not
fire.
Is there something that i miss. I am really tired and need help.
Thanks for any help...
Melih
but it seems to be imposible.
To stop a binding i use TCPServer.Bindings[1].Closesocket; and it works.
To start a binding
TCPServer.Bindings[1].AllocateSocket;
TCPServer.Bindings[1].Bind;
TCPServer.Bindings[1].Listen;
But this is not working. I can connect to the binding but OnConnect does not
fire.
Is there something that i miss. I am really tired and need help.
Thanks for any help...
Melih