Bind to all interfaces.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@111 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-03-22 02:59:13 +00:00
parent 5ca07d34f5
commit ed6424b58c
+2 -3
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
# $Id: musicd,v 1.2 2001/03/22 02:44:26 mdb Exp $
# $Id: musicd,v 1.3 2001/03/22 02:59:13 mdb Exp $
#
# MP3 audio server. Manages playlists of mp3 files that live on a local
# filesystem. The playlsits can be manipulated by connecting to the server
@@ -22,8 +22,7 @@ my $mp3;
main: {
# create the server part of things
my $sock = new IO::Socket::INET(LocalHost => "localhost",
LocalPort => 2500,
my $sock = new IO::Socket::INET(LocalPort => 2500,
Proto => "tcp",
Listen => SOMAXCONN,
Reuse => 1);