Next: Sockets.Datagram-accessing, Up: Sockets.Datagram [Index]
Answer a new datagram with the specified data.
Answer a new datagram with the specified target socket, and aByteArray as its data.
Serialize the object onto a ByteArray, and create a Datagram with the object as its contents, and the specified receiver. Note that each invocation of this method creates a separate ObjectDumper; if different objects that you’re sending are likely to contain references to the same objects, you should use #object:objectDumper:address:port:.
Serialize the object onto a ByteArray, and create a Datagram with the object as its contents, and the specified receiver. Serialization takes place through ObjectDumper passed as ‘od’, and the stream attached to the ObjectDumper is resetted every time. Using this method is indicated if different objects that you’re sending are likely to contain references to the same objects.