Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unexpected exception: module 'socket' has no attribute 'MSG_DONTWAIT' #12

@chenxiang1206

Description

@chenxiang1206

hostkey: E:\chrome_download\netconf-1.9.2\example/server-key
ERROR:sshutil.server:NetconfSSHServer(port=9300): Unexpected exception: module 'socket' has no attribute 'MSG_DONTWAIT': Traceback (most recent call last):
File "Python\Python36\lib\site-packages\sshutil\server.py", line 477, in _accept_socket_thread
if (is_sock_closed(client)):
File "Python\Python36\lib\site-packages\sshutil\server.py", line 36, in is_sock_closed
peek = sock.recv(1, socket.MSG_PEEK | socket.MSG_DONTWAIT)
AttributeError: module 'socket' has no attribute 'MSG_DONTWAIT'

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