This page contains deprecated protocol dumps.
Transfered from http://psyc.pages.de/dump (ibiza source). Everything about Group Communication. These wiki pages document the
current practice of PSYC which is not the PSYC that will be standardized as 1.0.
The protocol drafts for PSYC 1.0 are in http://psyc.pages.de/tech.en.html
They explain the fundamental syntax, but do not go into details of functionality,
as that is work in progress documented here.
These protocol dumps show the VERBOSE SYNTAX of PSYC, since the upcoming COMPACT SYNTAX will be defined with protocol version 1.0. See the whitepaper for an example of a compact packet. You'll see it is more compact than a TCP header. ;-)
Contents |
Initialisation Packet
recv:
. =_source psyc://fi.ve.symlynx.com =_target psyc://ente.aquarium:-32872 :_using_protocols PSYC/0.9 TCP IP/4 :_understand_protocols PSYC/0.9 TCP IP/4, PSYC/0.9 UDP IP/4, IRC/2, Jabber, Chatlet, Telnet, HTTP/1.0, WAP :_understand_modules _context : _encrypt :_use_modules _context :_implementation psycMUVE/0.99 LDMUD/3.3.683 Linux i686 :_page_description http://psyc.pages.de/ =_encoding ISO-8859-1 _notice_circuit_established Connection to [_source] established. Protocols accepted: [_understand_protocols]. .
Note that this are actually two packets sent. The first empty packet only consists of a single dot. Omitting it will create an error and terminate your connection.
Link Request
The next thing that we want is getting linked to our UNI. That part of the dump has moved to identification.
User Greeting
Most servers have a default place where new chatters will be joined, therefore we receive the echo of our UNI entering a room and some additional things may happen, depending on the type of the room.
:_source psyc://fi.ve.symlynx.com/@psyc :_target psyc://ente.aquarium:-32872 :_nick_verbatim fippo :_nick fippo :_nick_place PSYC _echo_place_enter_login [_nick] enters [_nick_place]. . :_source psyc://fi.ve.symlynx.com/@psyc :_target psyc://ente.aquarium:-32872 :_action muht :_nick_verbatim fool :_time_place 1111415245 :_nick fool :_nick_place PSYC :_source_relay 0 _message_public mh . :_source psyc://fi.ve.symlynx.com/@psyc :_target psyc://ente.aquarium:-32872 :_identification psyc://fi.ve.symlynx.com/@psyc :_nick fippo :_nick_verbatim 0 :_nick_place PSYC _status_place_identification PSYC Identification of [_nick_place]: [_identification] . :_source psyc://fi.ve.symlynx.com/@psyc :_target psyc://ente.aquarium:-32872 :_nick fippo :_list_members psyc://fi.ve.symlynx.com/~fippo :_list_members_nicks fippo :_nick_place PSYC :_nick_verbatim 0 _status_place_members In [_nick_place]: [_list_members_nicks]. .
Next we receive some additional messages.
:_source psyc://fi.ve.symlynx.com/~fippo :_target psyc://ente.aquarium:-32872 _warning_usage_set_language Mittels "/set language de" kann zur deutschen Sprache gewechselt werden. . :_source psyc://fi.ve.symlynx.com/~fippo :_target psyc://ente.aquarium:-32872 :_host localhost (192.168.1.2) :_time 14:42:23 :_date 2005-03-22 _notice_logon_last Your last visit was on [_date] at [_time] from [_host]. . :_source psyc://fi.ve.symlynx.com/~fippo :_target psyc://ente.aquarium:-32872 _status_log_none No new messages. . :_source psyc://fi.ve.symlynx.com/~fippo :_target psyc://ente.aquarium:-32872 _status_friends_none None of your friends is available. .
Sending Private Messages
Lets send a private message to fool:
=_source_identification psyc://example.net/~me :_target psyc://fi.ve.symlynx.com/~fool _message_private howdy! .
recv: (this is echo... and may not be accurate..)
:_source psyc://fi.ve.symlynx.com/~fool :_target psyc://ente.aquarium:-32872 _message_echo_private howdy! . :_source psyc://fi.ve.symlynx.com/~fool :_target psyc://ente.aquarium:-32872 :_nick fool _status_person_absent Message recorded. [_nick] is absent. .
Note that there is no format string for methods of the message-family.