Hi,
I'm trying to use the AppConnector protocol for my application.
I am not using the shipped tcpstream class, but QUdpSocket class of Qt 4.
I have no problems reading the internal states and control signals from the BCI2000 system but writing to the Input port of BCI2000 didnt work at all.
This is the message i get:
ConnectorInput::Preflight: Could not connect to localhost:20231
The host and port is correct. I also tried to set the socket to ShareAddress, but that didnt work as well. The error itself seems a bit weird because UDP is connectionless?!
What am I doing wrong?
Best,
Alex
[solved] AppConnector connection error
-
alenhardt
- Posts: 11
- Joined: 29 Nov 2007, 09:31
ahh sometimes it helps just typing a message on the forum 
the problem was that the sending socket must not be bound to the port (even the ShareAddress flag doesnt help here).
The error message was a bit misleading. I guess the error message should be something like "Address already in use".
Sorry for spamming the forum.
the problem was that the sending socket must not be bound to the port (even the ShareAddress flag doesnt help here).
The error message was a bit misleading. I guess the error message should be something like "Address already in use".
Sorry for spamming the forum.
Who is online
Users browsing this forum: No registered users and 0 guests
