[Slimp3-checkins] CVS: slimp3/server/lib/SliMP3 Protocol.pm,1.42,1.43
Brought to you by:
blackketter,
slimdevices
From: dean b. <bla...@us...> - 2003-07-31 18:19:16
|
Update of /cvsroot/slimp3/slimp3/server/lib/SliMP3 In directory sc8-pr-cvs1:/tmp/cvs-serv24292/server/lib/SliMP3 Modified Files: Protocol.pm Log Message: Try harder to update CVS at night. Don't open up our old port of 1069 anymore. Use the latest client. When showing search results, we were sometimes doing funny things to the titles. Index: Protocol.pm =================================================================== RCS file: /cvsroot/slimp3/slimp3/server/lib/SliMP3/Protocol.pm,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** Protocol.pm 28 Jul 2003 16:58:35 -0000 1.42 --- Protocol.pm 31 Jul 2003 16:49:46 -0000 1.43 *************** *** 27,31 **** #-------- You probably don't want to change this -----------------# - my $OLDSERVERPORT = 1069; # Port that 1.2 and earlier clients use my $SERVERPORT = 3483; # IANA-assigned port for the SliMP3 protocol, used in firmware 1.3+ #-----------------------------------------------------------------# --- 27,30 ---- *************** *** 34,38 **** use vars qw( $selUDPRead - $oldudpsock $udpsock); --- 33,36 ---- *************** *** 181,197 **** $::selRead->add($udpsock); - $oldudpsock = IO::Socket::INET->new( - Proto => 'udp', - LocalPort => $OLDSERVERPORT, - LocalAddr => $main::localClientNetAddr - ); - - if (!$oldudpsock) { - warn "Unable to open UDP socket on port $OLDSERVERPORT. Make sure all clients are upgraded to version 1.3 or above."; - } else { - $selUDPRead->add($oldudpsock); #to allow full processing of all pending UDP requests - $::selRead->add($oldudpsock); - } - # say hello to the old clients that we might remember... my $clients = SliMP3::Prefs::get("clients"); --- 179,182 ---- |