Hello,
I am trying to send BCI signals to Visual studio 2017 C++, and am using the link(https://www.bci2000.org/bbs/viewtopic.php?t=862) as a reference. When using the code:
#include <iostream>
#include "SockStream.h"
using namespace std;
int main( int argc, char** argv )
{
const char* address = "localhost:5000";
if( argc > 1 )
address = argv[ 1 ];
receiving_udpsocket socket( address );
sockstream connection( socket );
string line;
// Print each line of BCI2000 input to stdout.
while( getline( connection, line ) )
cout << line << endl;
return 0;
}
I receive an error which states, "Unable to start program... The system cannot find the file specified."
I made sure to add the "SockStream.h" file, yet I still the receive the error.
Guidance would be very much appreciated.
Establishing UDP connection
Who is online
Users browsing this forum: No registered users and 0 guests