The session ID that is used for communications with the client should work nicely as a megaphone session ID so I will probably use that.
Of the messages in the protocol:
- Opening a session is something NXB already has to do and should be apparent.
- Closing a session is trickier since the server can initiate a close as well as the client.
- Sending data should be apparent since that is the heart of NXB.
- Error packets will initially be simple since either side just reports then and then ignores them.
Changes will also need to be made to the relay client to:
- Report on the different packet types
- Unwrap the content of each packet as appropriate
- Forward the packet onto the server.
Another thing to work on in parallel is to figure out how to get Pidgin to work with NXB, since it would be nice to have that as a means to test the system.
No comments:
Post a Comment