_tcpListener in Core.dll throws exception

Jul 23, 2013 at 9:07 PM
Edited Jul 23, 2013 at 9:08 PM
I wrote my own C#-Project using your DLLs. After starting the Bridge:
Bridge.InitializeHosts(true);
Terminal = Bridge.GetTerminal(UserNumber, "EURUSD");
Terminal.QuoteRecieved += QuoteRecieved;
the _tcpListener throws the exception "Each socketadress can only be used once" when calling _tcpListener.Start();

This only appears, if I start the shell first, which connects to MetaTrader-EA and shows no errors.
If I first start my programm, the shell displays this exception instead of my programm.

Can someone give me hint whats wrong?
Jul 31, 2013 at 10:45 AM
Edited Jul 31, 2013 at 10:47 AM
.