CVS: rdesktop rdpsnd.c,1.9,1.10

Michael Gernoth <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17470

Modified Files:
	rdpsnd.c 
Log Message:
UNKNOWN6 is the tick of the packet we should be playing at this time


Index: rdpsnd.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** rdpsnd.c	3 Aug 2005 10:56:16 -0000	1.9
--- rdpsnd.c	8 Feb 2006 12:10:41 -0000	1.10
***************
*** 27,31 ****
  #define RDPSND_UNKNOWN4		4
  #define RDPSND_COMPLETION	5
! #define RDPSND_UNKNOWN6		6
  #define RDPSND_NEGOTIATE	7
  
--- 27,31 ----
  #define RDPSND_UNKNOWN4		4
  #define RDPSND_COMPLETION	5
! #define RDPSND_SERVERTICK	6
  #define RDPSND_NEGOTIATE	7
  
***************
*** 158,173 ****
  
  static void
! rdpsnd_process_unknown6(STREAM in)
  {
! 	uint16 unknown1, unknown2;
  	STREAM out;
  
  	/* in_uint8s(in, 4); unknown */
! 	in_uint16_le(in, unknown1);
! 	in_uint16_le(in, unknown2);
  
! 	out = rdpsnd_init_packet(RDPSND_UNKNOWN6 | 0x2300, 4);
! 	out_uint16_le(out, unknown1);
! 	out_uint16_le(out, unknown2);
  	s_mark_end(out);
  	rdpsnd_send(out);
--- 158,173 ----
  
  static void
! rdpsnd_process_servertick(STREAM in)
  {
! 	uint16 tick1, tick2;
  	STREAM out;
  
  	/* in_uint8s(in, 4); unknown */
! 	in_uint16_le(in, tick1);
! 	in_uint16_le(in, tick2);
  
! 	out = rdpsnd_init_packet(RDPSND_SERVERTICK | 0x2300, 4);
! 	out_uint16_le(out, tick1);
! 	out_uint16_le(out, tick2);
  	s_mark_end(out);
  	rdpsnd_send(out);
***************
*** 239,244 ****
  			rdpsnd_process_negotiate(s);
  			break;
! 		case RDPSND_UNKNOWN6:
! 			rdpsnd_process_unknown6(s);
  			break;
  		case RDPSND_SET_VOLUME:
--- 239,244 ----
  			rdpsnd_process_negotiate(s);
  			break;
! 		case RDPSND_SERVERTICK:
! 			rdpsnd_process_servertick(s);
  			break;
  		case RDPSND_SET_VOLUME:



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.