Ticket #1348
A long time ago I made UdpSocket, TcpSocket, TcpListener, etc const classes because that was the only way to pass as messages between Actors.
But now I am thinking the proper design is to make them normal mutable classes, and you should use Unsafe to pass them between actors.
Any objections to that change?
Promoted to ticket #1348 and assigned to brian
Ticket resolved in 1.0.57
All the socket classes are now mutable non-const. If using them b/w actors in your own code you will need to wrap them Unsafe.
changeset
Login or Signup to reply.
brian Thu 2 Dec 2010
A long time ago I made UdpSocket, TcpSocket, TcpListener, etc const classes because that was the only way to pass as messages between Actors.
But now I am thinking the proper design is to make them normal mutable classes, and you should use Unsafe to pass them between actors.
Any objections to that change?
brian Mon 3 Jan 2011
Promoted to ticket #1348 and assigned to brian
brian Mon 3 Jan 2011
Ticket resolved in 1.0.57
All the socket classes are now mutable non-const. If using them b/w actors in your own code you will need to wrap them Unsafe.
changeset