torsdag 16. juni 2016 17.19.58 UTC+2 skrev Øyvind Teig følgende:
>
> occam pi has/had mobile channels, where data pointed to by the pointer
> that's implicitly sent over the channel will fall out of scope on the
> sender side. I don't even think that data is converted to a const, the data
> wo
occam pi has/had mobile channels, where data pointed to by the pointer
that's implicitly sent over the channel will fall out of scope in the
sender side. I don't even think that data is converted to a const, the data
won't exist anymore. The language takes care of this.
Sending a pointer across
Perfect. Thanks!
On Wed, Jun 15, 2016, 12:44 PM Ian Lance Taylor wrote:
> On Wed, Jun 15, 2016 at 12:25 PM, Eric Greer wrote:
> >
> > Thanks for the reply. What I'm trying to do is to make a web socket
> server
> > where all clients are sent broadcast messages. When the client connects,
> a
> >
On Wed, Jun 15, 2016 at 12:25 PM, Eric Greer wrote:
>
> Thanks for the reply. What I'm trying to do is to make a web socket server
> where all clients are sent broadcast messages. When the client connects, a
> channel is creates and registered in a global list of client channels. When
> a client d
Thanks for the reply. What I'm trying to do is to make a web socket server
where all clients are sent broadcast messages. When the client connects, a
channel is creates and registered in a global list of client channels. When
a client disconnects, the channel gets closed. The broadcaster does not
k
On Tue, Jun 14, 2016 at 10:15 PM, wrote:
>
> What happens if the channel closes?
>
> I'm thinking about maintaining a list of channels (one for each websocket
> client), then sending a message to all of them. The only problem is that
> when the websocket client disconnects, their channel closes.