Thread overview
Tango / Network Example compilation failure
Aug 13, 2007
Gregor Kopp
Aug 13, 2007
Lars Ivar Igesund
Aug 13, 2007
Gregor Kopp
Aug 13, 2007
Lars Ivar Igesund
Aug 13, 2007
Gregor Kopp
August 13, 2007
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?
August 13, 2007
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
August 13, 2007
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)
August 13, 2007
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
August 13, 2007
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!