comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Love <rblove@airmail.net>
Subject: Re: Sockets Example Sought
Date: Fri, 23 Nov 2012 15:58:53 -0600
Date: 2012-11-23T15:58:53-06:00	[thread overview]
Message-ID: <2012112315585358568-rblove@airmailnet> (raw)
In-Reply-To: lyzk28b25n.fsf@pushface.org

On 2012-11-23 18:32:52 +0000, Simon Wright said:

> Robert Love <rblove@airmail.net> writes:
> 
>> Does anyone have an example of a multi-client server in Ada they care
>> to share?  It should use the Gnat.Sockets package.  I've seen samples
>> but they don't seem complete, or at least my understanding isn't
>> complete<grin>.
>> 
>> Thanks in advance.
> 
> task body Server in http://goo.gl/bXVw7 ? (lines 59 .. 143)

What happens at line 120, the else clause on if Server = Socket_Server? 
 Is that where data is read in on the socket?

I assume the client opens the socket and the server detects it, then at 
various times the client makes data requests by sending string data.

The Respond function called just seems to call HTTP.Respond, which is 
not in this file.





  reply	other threads:[~2012-11-23 21:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 17:17 Sockets Example Sought Robert Love
2012-11-23 18:32 ` Simon Wright
2012-11-23 21:58   ` Robert Love [this message]
2012-11-23 22:40     ` Dmitry A. Kazakov
2012-11-24 18:27       ` Robert Love
2012-11-24 21:01         ` Dmitry A. Kazakov
2012-11-27  3:37           ` Robert Love
2012-11-27  8:41             ` Dmitry A. Kazakov
2012-11-27 15:05             ` Mark Lorenzen
2012-11-23 23:08     ` Simon Wright
2012-11-28  4:43 ` anon
2012-11-30  5:04   ` Robert Love
replies disabled

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