Skip to content

pyagentx does not support connections over tcp #10

@hosthvo

Description

@hosthvo

This client has hard coded socket connections to socket.AF_UNIX. This prevents the client from making a tcp connection.

Are there plans to support connections over tcp?

Perhaps making this parameter overridable parameter like pyagentx.SOCKET_PATH, e.i. pyagentx.SOCKET_FAMILY = socket.AF_UNIX?

and the code in network.py

self.socket = socket.socket( pyagentx.SOCKET_FAMILY, socket.SOCK_STREAM )

I can submit a patch, if that helps.

Thanks,

Hoa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions