8000 Remove pike.init() / pike.deinit(). · Issue #11 · lithdew/pike · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove pike.init() / pike.deinit(). #11
Open
@lithdew

Description

@lithdew

pike.init() / pike.deinit() are only used to initialize winsock2 on Windows. A global atomic counter may be used to silently initialize winsock2 upon the very first Socket.init() call, and silently de-initialize winsock2 on the very last Socket.deinit() call.

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

      0