Share

Java NIO Socket Framework

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Stringin NioSocket

You are viewing a single message from this topic. View all messages.

  1. 2006-04-05 22:16:32 UTC
    The implementation of
    handle_read_complete(String mdata)

    in my opinion, is really bad for a framework. Since it reads from ByteBuffers, it should return that ByteBuffer, and in the server implementation we handle and convert it to String or whatever we want.

    I had to modify that code so I could read bytes[], because I'm not using the HTTP protocol, but a low level protocol.

    Since it's a framework, it's usage should be a little bit more extendable. You should really consider using this.

    Thanks!
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.