Skip to content

Trouble with event object #9

@feus4177

Description

@feus4177

I can't seem to access the public interface of the event object. So far I seem to be able to get everything else to work, I can send and receive messages from the server, but I have to use the [&](string const& name, sio::message::ptr const& data, bool is_ack, sio::message::ptr& ack_resp) signature. I'd like to be able to use the [&](sio::event& ev) signature but when I try to do something like ev.get_messge() my complier throws an error

Undefined symbols for architecture x86_64:
  "sio::event::get_message() const", referenced from:
      _main in test.cpp.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions