Skip to content

[question]Can messages be send to client outside main thread? #94

@habi498

Description

@habi498

Hi i am planning to run a websocket server in a separate thread from my main program. I am new to mutex, lock and unique_lock. I have saved the client pointer from 'onmessage' function. Can i safely use ws_sendframe from my main program using this pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions