[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Re: Redux: Netsync + [X]inetd
- To: <coldsync-hackers at lusars dot net>
 
- Subject: Re: [coldsync-hackers] Re: Redux: Netsync + [X]inetd
 
- From: "Alex Tronin" <at at urbis dot net>
 
- Date: Thu, 28 Feb 2002 16:54:34 -0500
 
- Organization: Urbis.Net Ltd
 
- References: <NEBBJEJDOJKNMNOFCBEACELIEAAA.robb@empire2.com>
 
- Reply-To: coldsync-hackers at lusars dot net
 
- Sender: owner-coldsync-hackers at lusars dot net
 
Hi Rob,
I just e-mailed you original PConnection_net.c and my version ( you can run
diff if you want )
What my does is exactly what I was talking about - UDP is not used,
than in net_tcp_listen it accept()s connections and fork()s child processes
to do actual NetSync and then parent waits to accept new ones.
Works good for me - should do the trick for everybody else.
As I said, changes are quite minimal - see net_tcp_listen() function
It is quite classical Unix forking server.
Alex
-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.