llobrin has asked for the wisdom of the Perl Monks concerning the following question:

sir's questions what if i use the port 3306 of mysql for socket programming and the same time mysql is up & running. is there any trouble or danger? thanks! Louie newbie

Replies are listed 'Best First'.
Re: Using sockets already in use
by chargrill (Parson) on Dec 08, 2006 at 21:28 UTC

    You'll probably get an error message along the lines of "Could not bind to socket 3306".

    You're probably better off using one of the ~65,000 sockets not already in use above 1024.



    --chargrill
    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
Re: Using sockets already in use
by Joost (Canon) on Dec 09, 2006 at 00:08 UTC
Re: Using sockets already in use
by geekphilosopher (Friar) on Dec 09, 2006 at 00:59 UTC