[muscle] Re: addnewconnectsession

  • From: "VANHERP Wim" <Wim.VANHERP@xxxxxx>
  • To: <muscle@xxxxxxxxxxxxx>
  • Date: Tue, 3 May 2005 09:37:57 +0200


Thanks for your fast answer, i was so stupid to rely on the search
function of XP, now i see that this searchfunction refuses to seek in
=2Ecpp-files (.h  files are searched through.

I'll try to make an example to connect to muscled. I look forward to use
your software.

What I found (and resolved I think) is that with borland you have to
Something before you can compile muscled :

StringTokenizer(int /*junk*/, char * tokenizeMe, const char * separators
=3D ", \t")

change bool by  int=20

in stringtokenizer.cpp in utils map


-----Oorspronkelijk bericht-----
Van: muscle-bounce@xxxxxxxxxxxxx [mailto:muscle-bounce@xxxxxxxxxxxxx]
Namens Jeremy Friesner
Verzonden: maandag 2 mei 2005 18:12
Aan: muscle@xxxxxxxxxxxxx
Onderwerp: [muscle] Re: addnewconnectsession

Hi Wim,

> when I see in the beginners guide I see that you must use
> to connect to the server.   So I did a search for this word in all the
> files I had downloaded from mucle but I do not find it in any cpp
> nor in the examples, nor in the sourcecode, I find it only in .h files
> Where do you use this function, and where is the implementation of it
> Do I miss something =3D3F

AddNewConnectSession() is declared in system/MessageTransceiverThread.h.
The implementation is in system/MessageTransceiverThread.cpp.  You
use it after you have created your XXXMessageTransceiverThread object
XXX would vary depending on what OS API you are using) and want to have
it make a TCP connection to some other machine (typically the muscle
Don't forget to call StartInternalThread() on the
object also, so that the network I/O thread will start running.


*** Disclaimer ***

Deze e-mail, met eventuele bijlagen, is alleen bestemd voor de persoon of=
 organisatie aan wie hij gericht is en, in voorkomend geval, alleen voor =
het daarin opgegeven doel of gebruik. Hij kan vertrouwelijke informatie b=
evatten en/of persoonlijke standpunten die niet noodzakelijk met die van =
de VRT stroken. Elk gebruik van deze informatie (zoals bewerken, doorstur=
en, geheel of gedeeltelijk reproduceren of verspreiden in welke vorm ook)=
 door anderen dan de geadresseerde, is verboden. Hebt U deze e-mail per v=
ergissing ontvangen, meld dat dan a.u.b. aan de VRT en wis de e-mail.

Other related posts: