Skip to content

constructing a client socket on a client machine #42

Description

@davejakenic

I kindly ask for help in replacing the following lines suitably, such that the server will see an incorrect client's IP address. The following creates a client_socket of type socket (aka, can listen, recv, and send).

client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(ip_address_string_of_server,port_integer_of_server)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions