Probably your problems about i can send about seven messages per second
may be relationed to
OS's tcp connection stream buffering... try to flush every fd after write to
it. I wrote a multi-threaded (pcntl_fork())
application in phpcli using many sockets and they worked well... array
iterations
: Sunday, September 14, 2003 7:26 AM
Subject: Re: [PHP] socket_write eats data - solved
Wouldn't this multiple connections be a problem for php? IMHO one of the
main draw backs of the PHP IMAP library is the fact that you have to
open and close and imap connection for each page. That issue
Hi thomas,
Thomas Weber wrote:
IMAP? We were talking about IRC,
Used imap as an example.
the Internet Relay Chat.
In detail, my problems doesn't even refer to IRC directly, as i am
developing a server for a html-based webchat, but the server-structure and
the messages are nearly the same.
Yes
Hi,
i've checked a hundred things before posting this question, but i forgot the
most important thing, the buffer.
The 'eaten' writes were buffered by the network-kernel and sent as bunch of
data. If too much data for the buffer is sent, the write is broken up and
completed in the next
Is IRC UDP?
Thomas Weber wrote:
Hi,
i've checked a hundred things before posting this question, but i forgot the
most important thing, the buffer.
The 'eaten' writes were buffered by the network-kernel and sent as bunch of
data. If too much data for the buffer is sent, the write is broken up and
PROTECTED]
Sent: Sunday, September 14, 2003 2:59 AM
Subject: Re: [PHP] socket_write eats data - solved
Is IRC UDP?
Thomas Weber wrote:
Hi,
i've checked a hundred things before posting this question, but i forgot
the
most important thing, the buffer.
The 'eaten' writes were buffered
, September 14, 2003 2:59 AM
Subject: Re: [PHP] socket_write eats data - solved
Is IRC UDP?
Thomas Weber wrote:
Hi,
i've checked a hundred things before posting this question, but i forgot
the
most important thing, the buffer.
The 'eaten' writes were buffered by the network-kernel
7 matches
Mail list logo