Thank you for your help, this definitely gets me going in the right
direction!
On Wed, Jun 11, 2014 at 4:16 AM, Marc Tompkins
wrote:
> On Tue, Jun 10, 2014 at 4:08 PM, Jon Engle wrote:
> > Ok, so when I run the code it immediately terminates and never 'listens'
> to
>
Ok, so when I run the code it immediately terminates and never 'listens' to
the ports in the loop. I have verified by running netstat -an | grep 65530
and the startingPort is not binding.
***Server***
Jons-Mac:Desktop Jon$ python response.py
Please enter starting port: 65530
Jons-Mac:Desktop Jo
call last):
File "response.py", line 31, in
thread.start_new_thread(setup(port))
TypeError: start_new_thread expected at least 2 arguments, got 1
On Tue, Jun 10, 2014 at 4:23 PM, Marc Tompkins
wrote:
> On Tue, Jun 10, 2014 at 9:28 AM, Jon Engle wrote:
>
>
Thank you for your help! This updated code does not "bind" the selected
port to a "listen" state, it simply exits. I feel like part of this has to
do with the creation of a procedure. Any ideas/recommendations on how to
make this loop "bind" to a socket?
#!/usr/bin/python # This is s
or] python sockets
> Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 10/06/14 00:33, Jon Engle wrote:
> > I am trying to open ports 1025-65535 with the following code
>
> Why would you want to do that?
> It sounds like a great way to
I am trying to open ports 1025-65535 with the following code (Mostly found
online with small modifications). I am unable to "bind" anything other than
the one port which is selected as input. What am I missing and how do I
bind all the ports simultaneously?
#!/usr/bin/python # This is se