Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Hi!
Hi! [message #458161] Mon, 11 July 2005 11:18 Go to next message
Eclipse UserFriend
Originally posted by: sumit.panchasara.einfochips.com

Hi folks,
Can any body tell me how to achieve non blocking socket communication in
JAVA using java.nio.* package. I have tried but again select() call is
blocking so I am not able to use the Non-Blocking facility at all. Please
check if at all provides non blocking IO or not.

My aim is to listen on more than one port of a single machine at a time,
i.e. the functionality of SERVER. According to that it will creates
different channels for each port and serve the request generated by clients.

But what happens is, when I start application for listening on first port it
will block whole windows until the request is granted. Instead I want to
access freely other programs during this port listening.

I think I am much clear.....
Waiting for answer from intelligent folks.........

thanks,
Sumit.
Re: Hi! [message #458172 is a reply to message #458161] Mon, 11 July 2005 15:07 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Sumit Panchasara" <sumit.panchasara@einfochips.com> wrote in message
news:datkhk$k5d$1@news.eclipse.org...
> Hi folks,
> Can any body tell me how to achieve non blocking socket communication in
> JAVA using java.nio.* package. I have tried but again select() call is
> blocking so I am not able to use the Non-Blocking facility at all. Please
> check if at all provides non blocking IO or not.
>
> My aim is to listen on more than one port of a single machine at a time,
> i.e. the functionality of SERVER. According to that it will creates
> different channels for each port and serve the request generated by
> clients.
>
> But what happens is, when I start application for listening on first port
> it will block whole windows until the request is granted. Instead I want
> to access freely other programs during this port listening.
>
> I think I am much clear.....
> Waiting for answer from intelligent folks.........
>
> thanks,
> Sumit.
>

This is not the appropriate forum for this question, since it is not SWT
related.
Try the Sun Java forum or one of the comp.lang.java usenet newsgroups.
In the meantime, think threads.
---
Sunil
Previous Topic:A JFace class not found on eclipse ?
Next Topic:Excel-like table grid
Goto Forum:
  


Current Time: Wed Apr 24 13:47:34 GMT 2024

Powered by FUDForum. Page generated in 0.03161 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top