Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] More NIO headaches

Started by SteveTaylor Jan 26, 2006 at 2:06 AM 3 replies 800+ views
Original Post
SteveTaylor
SteveTaylor
Never mind. Fixed :)
Giuoco
Giuoco
nice work!
“every idea is a responsibility”
SteveTaylor
SteveTaylor
Well I tried to delete this thread, but that feature just doesn't work here.
aidan_walsh
aidan_walsh
You know, the prefered method is to leave the original post and then post what the solution was. That way might help other people in the future...
www.aidanwalsh(.net)(.info)
SteveTaylor
SteveTaylor
Ok. Here's the gist of what I posted.

Basically I wanted to know why the Selector was getting bombarded with read events when a client disconnected. Then I RTFM and realised that it's supposed to happen and SocketChannel.read() returns -1 upon disconnection. If I left this post here, I would have probably been told to RTFM. At least that's what I've seen in other forums. Maybe GD.net is friendlier though...

Sorry to deprive you of my trivial problem/solution. As you can see I've got other problems/solutions floating around here that are much more interesting. I'd rather not clutter the forum with trivial things. Like I said, I tried to delete it almost straight away, but it didn't work.

*** Perhaps the moderator could delete this entire thread as it's getting a bit off-topic. ***

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.