Skip to content

This lib is broken #8

Description

@Evert-Arends

Hello,

It seems that this lib looks really awesome, but in reality nothing seems to be working. Even the examples posted in the docs don't work at all, I tried nearly all python examples, and sometimes it works but most of the time I have to heavily edit the docs to get it working, and even then it seems not to be working correctly (spam and repeating messages).

Am I very stupid today or is this package just not working? (anymore).

Example:

from socketengine import Transport

transport = Transport(name='test')
transport.openForConnection(port=8080)
transport.write('channel_name', 'Hello World!')
transport.close()

Name was not in the documentation, but required, and when it finally runs:

/usr/bin/python3.6 /home/berm/Development/Hobby/test.py
Traceback (most recent call last):
  File "/home/berm/Development/Hobby/test.py", line 4, in <module>
    transport.openForConnection(port=8080)
AttributeError: 'Transport' object has no attribute 'openForConnection'

This is the documentation (Images, which I think is pretty weird for code?):
https://github.com/0xJeremy/socket.engine/raw/master/graphics/python_documentation/transport_example_1.png

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions