testing client-server sockets

David Harrison dave.l.harrison at gmail.com
Fri Apr 18 05:01:10 EDT 2008


On 18/04/2008, Astan Chee <stanc at al.com.au> wrote:
> Hi,
>  I have a client-server socket script in python. Something like this
>  http://ubuntuforums.org/showthread.php?t=208962
>  Now the problem I have is that I want to try to connect the client to
>  the server on the same machine, but it gives me a 'port already in use'
>  error. I just want the client to connect to the server for testing
>  purposes. Any suggestions on how I should do this?
>  Thanks
>  Astan

Can you post the client / server code for us ?  It sounds like it's
likely to be a minor bug.



More information about the Python-list mailing list