Re: Sockets on Windows and Mac

2006-01-10 Thread Peter Hansen
rodmc wrote: > I am currently importing the socket library when I write the programs, > I have had no problems with it on my PC at work, but the Mac at home > steadfastly refuses to work. One rule about asking for help in forums like this is to provide adequate background detail about your envir

Re: Sockets on Windows and Mac

2006-01-09 Thread Grant Edwards
On 2006-01-08, rodmc <[EMAIL PROTECTED]> wrote: > I am currently importing the socket library when I write the programs, > I have had no problems with it on my PC at work, but the Mac at home > steadfastly refuses to work. Well, with details like that, we'll have your problem figured out in no ti

Re: Sockets on Windows and Mac

2006-01-09 Thread rodmc
Hi Peter, I am currently importing the socket library when I write the programs, I have had no problems with it on my PC at work, but the Mac at home steadfastly refuses to work. As for existing libraries, I am new to Python so am kean to avoid re-inventing the wheel :-) Cheers, rod -- http://

Re: Sockets on Windows and Mac

2006-01-09 Thread rodmc
I am on 10.3, I keep getting exceptions when it hits lines like mySocket.bind (SERVER_IP, 2727 ) or mySocket = socket.socket(socket.AF_NET,socket.SOCK_STREAM) The code I am using is copied from a tutorial on a website somewhere. Cheers, rod -- http://mail.python.org/mailman/listinfo/python-li

Re: Sockets on Windows and Mac

2006-01-09 Thread rodmc
Hi Peter, I am currently importing the socket library when I write the programs, I have had no problems with it on my PC at work, but the Mac at home steadfastly refuses to work. As for existing libraries, I am new to Python so am kean to avoid re-inventing the wheel :-) Cheers, rod -- http://

Re: Sockets on Windows and Mac

2006-01-08 Thread Alex Martelli
rodmc <[EMAIL PROTECTED]> wrote: > I am new to Python and have been writing some socket based programmes > on Windows (with some success), however I am unable to get them to work > on Mac. > > Are there differences in the way the socket module works on Windows and > Mac? I would appreciate any si

Re: Sockets on Windows and Mac

2006-01-08 Thread Peter Hansen
rodmc wrote: > I am new to Python and have been writing some socket based programmes > on Windows (with some success), however I am unable to get them to work > on Mac. > > Are there differences in the way the socket module works on Windows and > Mac? I would appreciate any simple code samples peo

Re: Sockets on Windows and Mac

2006-01-08 Thread Irmen de Jong
rodmc wrote: > I am new to Python and have been writing some socket based programmes > on Windows (with some success), however I am unable to get them to work > on Mac. Please elaborate on "unable to get them to work". What problems do you see? In my experience, there is no difference with the Ma

Sockets on Windows and Mac

2006-01-08 Thread rodmc
I am new to Python and have been writing some socket based programmes on Windows (with some success), however I am unable to get them to work on Mac. Are there differences in the way the socket module works on Windows and Mac? I would appreciate any simple code samples people my have for creating