comp.lang.ada
 help / color / mirror / Atom feed
From: john@assen.nospam.demon.co.uk (John McCabe)
Subject: Re: Sockets - newbie at a brick wall
Date: Thu, 12 Dec 2002 09:58:25 GMT
Date: 2002-12-12T09:58:25+00:00	[thread overview]
Message-ID: <3df85d10.3167644@news.demon.co.uk> (raw)
In-Reply-To: fbedb3ef.0212111040.3063ee31@posting.google.com

On 11 Dec 2002 10:40:00 -0800, benjamin_place@hotmail.com (Benjamin
Place) wrote:

>So what am I doing wrong. Which socket is already connected, and what
>should I do differently?

To be honest, I haven't used GNAT.Sockets, but two things strike me as
odd:

1) Your use of Socket_Datagram with a Connect() call. Perhaps you
should try Socket_Stream sockets.

2) Should there be a call to Listen() on the server side or is that
included in one of the other calls?

I realise this probably isn't as useful as someone who has worked with
GNAT.Sockets, but hopefully it will be a pointer to something that
would help until someone more knowledgeable provides a solution.



  reply	other threads:[~2002-12-12  9:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 18:40 Sockets - newbie at a brick wall Benjamin Place
2002-12-12  9:58 ` John McCabe [this message]
2002-12-12 14:19   ` John McCabe
2002-12-12 16:23     ` Toshitaka Kumano
2002-12-12 17:27       ` John McCabe
2002-12-13 11:25       ` John McCabe
2002-12-12 16:49   ` Benjamin Place
2002-12-13 11:31 ` Simon Wright
2002-12-13 13:52   ` John McCabe
2002-12-13 22:38   ` Benjamin Place
2002-12-16 10:16     ` John McCabe
replies disabled

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