www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Tango / Network Example compilation failure

reply Gregor Kopp <gregor.kopp chello.at> writes:
Hi, I want to start out with network programming with dmd 1.020 on 
Windows XP and Tango (installed with dsss net install tango)

If I try to compile this example here:
http://www.dsource.org/projects/tango/wiki/SocketServerExample

I get the following error messages:

server.d(38): class tango.net.SocketConduit.SocketConduit member write 
is not accessible
server.d(51): class tango.net.SocketConduit.SocketConduit member read is 
not accessible

Can anyone tell me what this means?
Aug 13 2007
parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
Gregor Kopp wrote:

 Hi, I want to start out with network programming with dmd 1.020 on
 Windows XP and Tango (installed with dsss net install tango)
 
 If I try to compile this example here:
 http://www.dsource.org/projects/tango/wiki/SocketServerExample
 
 I get the following error messages:
 
 server.d(38): class tango.net.SocketConduit.SocketConduit member write
 is not accessible
 server.d(51): class tango.net.SocketConduit.SocketConduit member read is
 not accessible
 
 Can anyone tell me what this means?

That example was out of synch with the latest Tango due to relatively recent updates to the IO model. I have now updated the example. Thanks. Note that these examples are also available as source, see the example folder. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Aug 13 2007
parent reply Gregor Kopp <gregor.kopp chello.at> writes:
Lars Ivar Igesund wrote:
 That example was out of synch with the latest Tango due to relatively recent
 updates to the IO model. I have now updated the example.  Thanks. Note that
 these examples are also available as source, see the example folder.

Thank you very much, now it works! Blame on me, I can't find the example folder in my local installation. Where do the examples reside, if tango was installed via dsss net install tango (seriously, maybe I need some sleep, but I didn't find it)
Aug 13 2007
parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
Gregor Kopp wrote:

 Lars Ivar Igesund wrote:
 That example was out of synch with the latest Tango due to relatively
 recent
 updates to the IO model. I have now updated the example.  Thanks. Note
 that these examples are also available as source, see the example folder.

Thank you very much, now it works! Blame on me, I can't find the example folder in my local installation. Where do the examples reside, if tango was installed via dsss net install tango (seriously, maybe I need some sleep, but I didn't find it)

Sorry, I don't know if dsss installs the examples. You will find them in the various Tango downloads or svn though. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Aug 13 2007
parent Gregor Kopp <gregor.kopp chello.at> writes:
Lars Ivar Igesund wrote:
 Sorry, I don't know if dsss installs the examples. You will find them in the
 various Tango downloads or svn though.

Thanks again!
Aug 13 2007