comp.lang.ada
 help / color / mirror / Atom feed
From: tonyg <tonythegair@gmail.com>
Subject: Re: adasockets on raspbian (armhf) and debian (intel32)
Date: Tue, 14 Jan 2014 02:34:33 -0800 (PST)
Date: 2014-01-14T02:34:33-08:00	[thread overview]
Message-ID: <cb6e9a8d-523c-4510-9919-b7cbff6d2da2@googlegroups.com> (raw)
In-Reply-To: <8e6d38d4-4790-4912-af78-f67b9621e6d3@googlegroups.com>

On Monday, 13 January 2014 15:07:01 UTC, tonyg  wrote:
> I am using some identical ada/ adasocket code on the raspberry pi and intel. I compile for each on that architecture.
> 
> 
> 
> Btw I have checked with NMAP to make sure ports are free and working.
> 
> 
> 
> A socket successfully binds / listens and connects on intel but when I tried this on the latest version of raspbian it gives this error through strace
> 
> **********
> 
> Sockets_Setup_Task: Listening for test harness on port  18010
> 
> ) = -1 ETIMEDOUT (Connection timed out)
> 
> gettimeofday({1389622632, 627619}, NULL) = 0
> 
> futex(0x63f318, FUTEX_WAKE_PRIVATE, 1)  = 0
> 
> exit_group(0)    
> 
> ***************
> 
> 
> 
> It should also raise an exception rather than bombing out to the command line.
> 
> 
> 
> I did encounter a slightly similar problem when sending information when it bombed out, in that case though I changed a value in the c_send of adasockets to include a value MSG_NOSIGNL and then it let the exceptions handle things....
> 
> 
> 
> Has anyone any ideas on this?

Problem was the latest raspbian distribution and something to do with sockets. Ealier distributions than the one released on 2013-12-20 work fine but this does not for some reason.


      reply	other threads:[~2014-01-14 10:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 15:07 adasockets on raspbian (armhf) and debian (intel32) tonyg
2014-01-14 10:34 ` tonyg [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox