Syntax error when trying to build client/server connections

  python, python-2.x

I am reading a book on Black Hat programming with Python and I am currently getting a syntax error while creating a client/server connection. I have checked the book a few times to make sure I had no errors and I believe I do not.

Code:

print "[*] Listening on %s:%d" % (bind_ip,bind_port)

Anybody have any ideas? I would appreciate it very much.

Source: Python Questions

LEAVE A COMMENT