[AGENT++] registeration of Sub agent to Master

Rajeev Bhatia rajeev_luckin at rediffmail.com
Wed Nov 19 11:15:14 CET 2003


An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20031119/59ca7b01/attachment.htm 
-------------- next part --------------
Hello,

I did change in agentx.h from #ifndef WIN32 to #ifdef WIN32.
and it works, I didnot check behavious in detail.
 
1. so is it ok ? or 
2. at other places also I should check for any other defines ?

regards
Rajeev Bhatia


On Tue, 18 Nov 2003 Henning Eggers wrote :
>
>#ifdef AX_UNIX_SOCKET
>#ifndef WIN32
>  agentx->set_connect_mode(AX_USE_UNIX_SOCKET /*| AX_USE_TCP_SOCKET*/);
>#else
>  agentx->set_connect_mode(AX_USE_TCP_SOCKET);
>#endif
>  agentx->set_unix_port_loc("/var/agentx/");
>#else
>  agentx->set_connect_mode(AX_USE_TCP_SOCKET);
>#endif
>
>Regards,
>Henning
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp


More information about the AGENTPP mailing list