bug-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-serveez] Preserving object props on sockets


From: Mike Gran
Subject: Re: [bug-serveez] Preserving object props on sockets
Date: Sat, 7 Sep 2013 15:07:58 -0700 (PDT)

> After much thought, i've decided that it is best to explicitly NOT

> support object properties on UDP and ICMP (generally, connectionless)
> sockets.  This is motivated partly by implementation difficulty and
> partly by philosophical considerations (i.e., does "object identity"
> make sense for such a socket, and if so, could it be possible that
> the meaning may be application-dependent?).
> 
> I think if the information of interest for the client code is the remote
> address (for instance) of a connectionless socket, the client code
> should be responsible for extracting that from the socket object and
> stick it in a hash table (or whatever), directly.
> 
> Does that sound reasonable?

Works for me.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]