Java Sockets Source Code

I’ve posted some of the Java source code we used in the classroom lately.

As we mentioned in the class, the conversion between bytes and characters depends on the encoding scheme. Most current Operating Systems no longer use ASCII but other schemes like UTF-8 to encode text-file contents. That is why we prefer the use of *Reader and *Writer classes instead of just the byte streams. (Why is encoding important?).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: