]> andersk Git - libfaim.git/blobdiff - aim_misc.c
Forgot this.
[libfaim.git] / aim_misc.c
index c6244eec5c692feeae8b24aaf4801b1bf0d31175..a909eb37372f4977d7d31bf4e1317e02b525a309 100644 (file)
@@ -499,6 +499,22 @@ u_long aim_bos_reqservice(struct aim_session_t *sess,
   return aim_genericreq_s(sess, conn, 0x0001, 0x0004, &serviceid);
 }
 
+/*
+ * aim_bos_nop()
+ *
+ * No-op.  WinAIM sends these every 4min or so to keep
+ * the connection alive.  With the recent changes
+ * in the OSCAR servers, it looks like we must do the
+ * same or be disconnected with a mysterious 'you logged
+ * on from another client' message.
+ *
+ */
+u_long aim_bos_nop(struct aim_session_t *sess,
+                  struct aim_conn_t *conn)
+{
+  return aim_genericreq_n(sess, conn, 0x0001, 0x0016);
+}
+
 /*
  * aim_bos_reqrights()
  *
This page took 0.239729 seconds and 4 git commands to generate.