[prev in list] [next in list] [prev in thread] [next in thread]
List: mtvp-sdk
Subject: Re: strange SII behaviour
From: "Andrew V. Shuvalov" <andrew () ecsl ! cs ! sunysb ! edu>
Date: 1998-09-14 16:50:05
[Download RAW message or body]
To subscribers of the mtvp-sdk@mpegtv.com mailing list:
Hi!
> To subscribers of the mtvp-sdk@mpegtv.com mailing list:
>
> Andrew V. Shuvalov wrote:
> >
> > To subscribers of the mtvp-sdk@mpegtv.com mailing list:
> >
> > Hi!
> >
> > Problem is: my SII plugin receive data from UDP socket. Everything's
> > fine.
> > If i close the application, wait a little ( even > 1 min ) and restart
> > it again, i got:
> > SII plugin: bind playback 7079 port fails, Address already in use
> > error from my plugin. Looks like i kill it incorrectly and port remains
> > in use ( ? ). My sequence to kill is:
> >
> > 1. g2a_send_int( &Player, COM_STATE, 0, STATE_STOPPED );
> > 2. SII close socket with: a. shutdown( broadcastSocketIn, 2 );
> > b. close(
> > broadcastSocketIn );
> > 3. g2a_send_void( &Player, COM_SII_UNLINK, 0 );
> > 4. g2a_send_void(&Player, COM_QUIT, 0);
> > 5. g2a_cleanup(&Player);
> >
> > Defenitely i'm crasy.... :-)
>
> No idea...
>
> By the way, the SII API will not be supported anymore
> (sorry).
It's ok. It should take few hours to migrate.
>
>
>
>
> It is replaced by a new and similar (but better) API called SIH
> (Stream Input Handler). There will be an announcement soon on this
> mailing list. If you are developing SII plugins, I strongly
> suggest that you use the new SIH API.
>
> mtvp-sdk version 1.0.7.0, which is already available for Linux
> and Solaris, includes a working SIH example and the full
> SIH API documentation in HTML format.
>
> I will post an email explaining the major differences between
> SII and SIH, and how you can migrate easiely from SII to SIH.
>
> -t
> ___________________________________________________________
> To unsubscribe, send a mailto:mtvp-sdk-request@mpegtv.com
> with no subject and "unsubscribe" in the body.
>
>
--
Andrew
___________________________________________________________
To unsubscribe, send a mailto:mtvp-sdk-request@mpegtv.com
with no subject and "unsubscribe" in the body.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic