On Sat, Nov 19, 2011 at 2:51 AM, Junfeng Hu <hujunf...@gmail.com> wrote: > And actually ,the socket hadn't been used in this script.
Doesn't matter that you haven't used it; you're binding to the port, that's what causes the 10048. I think the main problem is that you're trying to share sockets across processes, but I haven't used the Python multiprocessing module with sockets before. I would recommend, if you can, creating separate sockets in each subprocess; that might make things a bit easier. ChrisA -- http://mail.python.org/mailman/listinfo/python-list