Re: Socket issues

2009-01-17 Thread twistedduck9
On 17 Jan, 21:32, Jeff McNeil wrote: > On Jan 17, 4:11 pm, twistedduck9 > wrote: > > > > > My hosting provider (Streamline) have said that there is no firewall > > (it's a dedicated server). Either way the code I'm using is: > > > Listening socket: > > import socket > > mysock = socket.socket(soc

Re: Socket issues

2009-01-17 Thread Jeff McNeil
On Jan 17, 4:11 pm, twistedduck9 wrote: > My hosting provider (Streamline) have said that there is no firewall > (it's a dedicated server). Either way the code I'm using is: > > Listening socket: > import socket > mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > mysock.bind (('79.99.43

Re: Socket issues

2009-01-17 Thread twistedduck9
My hosting provider (Streamline) have said that there is no firewall (it's a dedicated server). Either way the code I'm using is: Listening socket: import socket mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) mysock.bind (('79.99.43.58', 2727)) mysock.listen(1) while True: channel,

Re: Socket issues

2009-01-17 Thread Gary M. Josack
twistedduck9 wrote: Hi all I've been trying to set up sockets on my server (running Apache/2.2.3) using python and I'm confused as to why it doesn't work. I set up a simple listening script which runs without error, and works if a connecting script is run on the same server. However, if I try t