From: mojahidiut <moj...@ya...> - 2008-03-13 12:17:07
|
hi, toby . it publishing the data in trying to load /home/student/Desktop/player_test/./drioDriver31... success invoking player_driver_init()... Registering drioDriver31 driver. success Listening on ports: 6665 accepted client 0 on port 6665, fd 5 > Connecting to drioDriver31...[done] Box is closed. best regards asm.hoque mojahidiut wrote: > > Hi all, > thanks Toby. my relay driver is working. i wrote one simple client program > . the program is > > > # include <iostream> > # include <libplayerc++/playerc++.h> > int > main(int argc, char *argv[]) > { > using namespace PlayerCc; > PlayerClient robot( "localhost"); > DioProxy dp (&robot,1); > robot.Read(); > std::cout<<dp[1]<<std::endl; > return 0; > } > > i can on/off the relay from this client program also it work and give me > information in driver window. same like that > > trying to load /home/student/Desktop/player_test/./drioDriver31... > success > invoking player_driver_init()... > Registering drioDriver31 driver. > success > Listening on ports: 6665 > accepted client 0 on port 6665, fd 5 >> Connecting to drioDriver31...[done] > Box is closed. > > but when i called client program than it show me this error after (few > seconds) > > student@student-desktop:~$ cd > /home/student/Desktop/player_teststudent@student-desktop:~/Desktop/player_test$ > ./box0 > calling connect > done > playerc error : poll call failed with error [0:Success] > playerc error : recv failed with error [Success] > warning : failed to reconnect > terminate called after throwing an instance of 'PlayerCc::PlayerError' > Aborted (core dumped) > student@student-desktop:~/Desktop/player_test$ > > > and stop the plugin driver > > trying to load /home/student/Desktop/player_test/./drioDriver31... > success > invoking player_driver_init()... > Registering drioDriver31 driver. > success > Listening on ports: 6665 > accepted client 0 on port 6665, fd 5 >> Connecting to drioDriver31...[done] > Box is closed. > closing connection to client 0 on port 6665 > drioDriver31 shutting down... [done] > > if i want to get playermassage in client program window what i shall do. > please help me. > > best regards > > asm hoque > phd. student > > dcu. > > > Why delete messages? Unlimited storage is just a click away. Go to > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > -- View this message in context: http://www.nabble.com/About-Relay-driver-tp16012172p16024980.html Sent from the playerstage-users mailing list archive at Nabble.com. |