Re: Perl Socket Client for C++ Server

2005-04-07 Thread news-funsi
Hi Jay, thanks for the answer. > Firt things first. Why did you comment out use strict? That's never > a good sign. also, loading both IO::Socket::Unix and Socket probably > isn't the best idea. the main problem here, though would seem to be > mixing your syntax. You're calling the object-o

Re: Perl Socket Client for C++ Server

2005-04-06 Thread news-funsi
thanks zentara for the answer, but unfortunately this does not work. I've uploaded the the C++ server/client and the testclient for perl. after unpacking and compiling the fundaemon, the server executable is src/fundaemon, which will create a file called /tmp/fundaemon_socket and listens for clie

Perl Socket Client for C++ Server

2005-04-05 Thread news-funsi
Hi there, i have written a socket c++ server, which listens for clients and understands some commands. here the structs of the server commands: enum command { SET_PRIO, CLEAR, SEND_STRING, SET_CURSOR, SHOW_CURSOR }; struct string_packet_t { char str[DATA_LENGTH]; };