The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Receive message when I send a require status fom squeedebox




Hi Lauro
Cant answer your question but im sure one of the guys will
respond soon..Normally get a response pretty quick here...Been a very busy
week for most of us...
Frank
----- Original Message -----
From: "lauro_sunny39" <lauro_sunny39@xxxxxxx>
To: <ukha_xpl@xxxxxxx>
Sent: Friday, September 24, 2004 4:00 AM
Subject: [ukha_xpl] Receive message when I send a require status fom
squeedebox


> Hi,
>
> I've been working with squeezebox, Im using XPLHAL, and I Can Send
> Commands and the device execute them , And I've Initialized a
> listener with the next code...
>
>         Protected Sub InitListener()
>             Dim portnum As Int32
>             If listening Then
>             Else
>                 sockIncoming = New Socket
> (AddressFamily.InterNetwork, Net.Sockets.SocketType.Dgram,
> ProtocolType.Udp)
>
>                 Try
>                     sockIncoming.Bind(New IPEndPoint(IPAddress.Any,
> XPL_BASE_PORT))
>                 Catch ex As Exception
>                     portnum = 50000
>                     While portnum < 50512 And Not portnum = 0
>                         Try
>                             sockIncoming.Bind(New IPEndPoint
> (IPAddress.Any, portnum))
>                             PortNumber = portnum
>                             LogError("Listening On Port: "
& portnum)
>                             portnum = 0
>                         Catch ex2 As Exception
>                             portnum += 1
>                             Debug.WriteLine(portnum)
>                         End Try
>                     End While
>                 End Try
>                 Try
>                     epincoming = New IPEndPoint(IPAddress.Any, 0)
>                     sockIncoming.BeginReceiveFrom(XPL_Buff, 0,
> MAX_XPL_MSG_SIZE, SocketFlags.None, epincoming, AddressOf
> Me.ReceiveData, Nothing)
>                     SendHeartbeatMessage()
>                     listening = True
>                 Catch ex As Exception
>                     '     MsgBox("Error " & Ex.Message)
>                     LogError("GRAVE ERROR... No listening")
>                 End Try
>             End If
>         End Sub
>
>
> but the problem is that I don't receive any response about the
> status... I ve got disable the Firewall from Service PAck II, my
> Instance's name is XPL2-XPLHAL.machinename, for the them command
> status I use the XPLHAL,...
>
> any Idea?
>
>
>
>
>
>
>
>
> xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
http://www.xpl.myby.co.uk
> To Post a Message: ukha_xpl@xxxxxxx
> To Subscribe:  ukha_xpl-subscribe@xxxxxxx
> To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx
> Yahoo! Groups Links
>
>
>
>
>




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.