UDP API Definition: Difference between revisions

m
m (→‎AUTH: Authing to the AnimeDB: be send -> be sent)
Line 251: Line 251:
:* This command only works if you are logged in.
:* This command only works if you are logged in.
:* With this command you can register your client as an observer for anidb notification and message events for the current user. If you are registered for one or both events the anidb server will send an UDP packet (format see below) on each change which affects the current user. The UDP packet is sent to the ip and port from which the AUTH command was recieved.
:* With this command you can register your client as an observer for anidb notification and message events for the current user. If you are registered for one or both events the anidb server will send an UDP packet (format see below) on each change which affects the current user. The UDP packet is sent to the ip and port from which the AUTH command was recieved.
:* UDP packets are resend 3 times, if the client does not acknowlege them. After that the client is logged out and no further notifies will be send.
:* UDP packets are resend 3 times, if the client does not acknowlege them. After that the client is logged out and no further notifies will be sent.
:* On recieving any of the above packets the client has to issue a PUSHACK command with the notify_packet_id provided in the notification packet.
:* On recieving any of the above packets the client has to issue a PUSHACK command with the notify_packet_id provided in the notification packet.


Line 276: Line 276:


----
----
=== PUSHACK: UDP Notification Acknowledge ===
=== PUSHACK: UDP Notification Acknowledge ===
'''Command String:'''
'''Command String:'''
9

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.