Skip to content

constructing a client socket on a client machine #42

@davejakenic

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)

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