[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Re: Redux: Netsync + [X]inetd



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.