Starting a new blocking child process that does the async socket operation. 
Shelljs has a method for blocking child process: 
https://github.com/arturadib/shelljs

On Sunday, May 27, 2012 at 9:51 PM, Serti Ayoub wrote:

> so, what can be the solution?
> 
> 2012/5/27 Eric S <[email protected] (mailto:[email protected])>
> > 
> > 
> > On Sunday, May 27, 2012 10:26:30 AM UTC-7, Serti Ayoub wrote:
> > > 
> > > What i need a library for using synchronous socket, so i wont to use 
> > > event such as (on 'data' ).
> > 
> > We understand that.  The answer is that it can't be done without making 
> > changes to node itself.  What few synchronous functions node has are there 
> > mostly for use during initialization.   
> > 
> > -- 
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines: 
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:nodejs%[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to