Displaying 10 results from an estimated 10 matches for "socket_write".
2004 Aug 06
2
Re: [icecast-dev] Hot Topic: Icecast in MacromediaFlash
...nnect to the SHOUTcast server
while($connection = socket_read($socket,2046))
{
$filesz = filesize(''.$fileplay.'');//enter in a single filename here in same directory or enter in full path
$fp = fopen (''.$fileplay.'', "rb");
$fr = fread ($fp, $filesz);
socket_write($connection,"$password\r\n");
socket_write($connection,"Content-Type:audio/mpeg\r\n"); //ogg is application/ogg
socket_write($connection,"Cache-Control:no-cache\r\n");
socket_write($connection,"Pragma:no-cache\r\n");
socket_write($connection,"Connection:...
2004 Aug 06
1
Re: [icecast-dev] Hot Topic: Icecast in MacromediaFlash
.../connect to
the SHOUTcast server
while($connection = socket_read($socket,2046))
{
$filesz = filesize(''.$fileplay.'');//enter in a single filename here in
same directory or enter in full path
$fp = fopen (''.$fileplay.'', "rb");
$fr = fread ($fp, $filesz);
socket_write($connection,"$password\r\n");
socket_write($connection,"Content-Type:audio/mpeg\r\n"); //ogg is
application/ogg
socket_write($connection,"Cache-Control:no-cache\r\n");
socket_write($connection,"Pragma:no-cache\r\n");
socket_write($connection,"Connection:...
2004 Aug 06
0
Re: [icecast-dev] Hot Topic: Icecast in MacromediaFlash
...nnect to
the SHOUTcast server
while($connection = socket_read($socket,2046))
{
$filesz = filesize(''.$fileplay.'');//enter in a single filename here in
same directory or enter in full path
$fp = fopen (''.$fileplay.'', "rb");
$fr = fread ($fp, $filesz);
socket_write($connection,"$password\r\n");
socket_write($connection,"Content-Type:audio/mpeg\r\n"); //ogg is
application/ogg
socket_write($connection,"Cache-Control:no-cache\r\n");
socket_write($connection,"Pragma:no-cache\r\n");
socket_write($connection,"Connection:...
2004 Nov 16
7
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
http://bugzilla.mindrot.org/show_bug.cgi?id=953
Summary: openssh session hanging - prngd[671]: write() in
socket_write() failed: Broken pipe
Product: Portable OpenSSH
Version: 3.7.1p2
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
Repo...
2005 Jan 27
1
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
http://bugzilla.mindrot.org/show_bug.cgi?id=953
------- Additional Comments From dtucker at zip.com.au 2005-01-27 17:16 -------
I've tried to reproduce this with OpenSSH 3.7.1p2 on Solaris 2.5.1 (the only
system I have available that doesn't have /dev/random). It ran a variant of
your script on my system for over an hour without a single hang.
Some more questions:
- can you
2004 Dec 16
3
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
http://bugzilla.mindrot.org/show_bug.cgi?id=953
------- Additional Comments From stanislaw.walczak at sympatico.ca 2004-12-17 09:16 -------
I run it only for 10 minutes "openssl rand -base64
20480" - did not hang or abort.
Security group said no for prngd 0.9.25 upgrade.
Could you please tell me more about prngd bug ? what the symptoms are ?
------- You are receiving this mail
2004 Aug 06
3
Re: [icecast-dev] Hot Topic: Icecast in Macromedia Flash
Hi,
<p>I moved this to icecast@, since none of these are icecast development
related questions and issues.
Macsym wrote:
> I didn't know so many people in the Icecast-Dev list were running Linux PPC!
Oh well, I'm neither a developer nor running Linux PPC. ;)
> Anyway, I understand that you guys don't have the time to help me with that
> because you wouldn't be
2008 Jul 11
1
openssh / prngd unresolved bug since 2002, need help
.... It's triggered by a high number of connections coming into
sftp/ssh at the same time. It affects additional connections and leaves
the failed connect attempts open for days in a TCP_WAIT state. We're
seeing the error in the system logs:
openssh session hanging - prngd[671]: write() in socket_write() failed:
Broken pipe
This appears to be an issue that has been an unresolved problem with
prngd since 2002. Some have attributed the problem to prngd version
0.9.26 (2004) but we are seeing it with version 0.9.25 (30 May 2002) as
have others that we've seen on the web.
The problem appe...
2005 Sep 06
4
PHP and ASterisk Manager
Guys, is anybody using PHP sockets to connect to the Manager and send
command like "show voicemail users" for example or any other?
My question is, how to parse the return info in a way that can be shown back
to the user via web (discard all the manager responses not needed)?
Thx in advance for any help you can provide.
2004 Aug 06
3
net/sock.c question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I have started to add bandwidth <limit> option to icecast. My ideea is to
compute the current bandwidth by estimation on each sock_write*() call.
Something like this:
1. initially we set kbps = 0, kbps_time = now and kbps_bytes = 0
2. after some time, a sock_write*() function is called which in turn calls
sock_kbps_update(nobytes);