[5297] in java-interest
Reading from sockets
daemon@ATHENA.MIT.EDU (Doug Dotson)
Mon Feb 5 16:01:13 1996
Date: Mon, 5 Feb 1996 14:41:09 -0500 (EST)
From: Doug Dotson <dotson@bud.tate.com>
To: java-interest@java.sun.com
I am writing a client in JAVA that connects to an existing server. The
server composes messages by building them into structures, putting the
structure members in network byte order, and sending the entire message
using a "send" call.
Is there any facility for reading these kinds of messages easily? I can
read each field by issuing individual reads of bytes, words, shorts, etc
that reflect the structure of the message but do these calls understand
network byte ordering and automatically convert to host byte ordering?
Thanks,
Doug Dotson
dotson@tate.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com