From: John A. T. <jat...@ja...> - 2008-09-04 00:01:44
|
On Wed, 3 Sep 2008, Brett Lentz wrote: > That's not exactly how I read the function of java.net.Socket or > java.nio.SocketChannel. > > I'd need to double-check the API docs, to be sure, but I believe what are > passed are text representations of each object. So, we'll need to verify > that the default toString() method is an acceptable representation for each > object, or we'll need to override toString() with our own representation > that does pass the necessary data. Sockets are byte channels, and you can send whatever you want across them, such as serialized objects. -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |