when your client connects to the server, have the server reconnect back
to the client and let your client act as a server (if that makes sense ;-
)
what dar was mentioning would work very similiar to what you want to do
(at least as i understand it)..
- write your data (blocking or
On Friday, January 2, 2004, at 11:02 PM, Doug Lerner wrote:
Are you part of the Revolution team, Dar?
No. (That would be an honor.)
But I am a TCP/IP and serial advocate among users.
Anyway, most of the people who will use this will be OS X and WIndows
users,
though there might be some Linux
On Saturday, January 3, 2004, at 07:27 AM, Doug Lerner wrote:
Never mind my last message - I did get it to push according to your
suggestion.
But I don't see how that would go into high-CPU consumption.
I usually don't use until lineEnd, though I have no argument
against it. Maybe that changes
On 1/4/04 1:53 AM, Dar Scott [EMAIL PROTECTED] wrote:
On Saturday, January 3, 2004, at 07:27 AM, Doug Lerner wrote:
Never mind my last message - I did get it to push according to your
suggestion.
But I don't see how that would go into high-CPU consumption.
It didn't. It worked fine.
I am currently polling an open socket to check for data, or checking for
data immediately after writing to the socket (to check for replies to
messages I send).
But is there a message-driven way of doing this? Like if data is waiting at
a socket (data pushed from a server) having it trigger a
On Friday, January 2, 2004, at 07:43 PM, Doug Lerner wrote:
I am currently polling an open socket to check for data, or checking
for
data immediately after writing to the socket (to check for replies to
messages I send).
But is there a message-driven way of doing this? Like if data is
waiting
On 1/3/04 12:14 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Friday, January 2, 2004, at 07:43 PM, Doug Lerner wrote:
I am currently polling an open socket to check for data, or checking
for
data immediately after writing to the socket (to check for replies to
messages I send).
But is
On Friday, January 2, 2004, at 08:40 PM, Doug Lerner wrote:
Wouldn't that just signal a message when reading data from the socket
is
complete?
Yes, but this one is complete when the buffer is non empty:
read from socket theSocket with message socketData
Does that sound like what you want?
On 1/3/04 1:05 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Friday, January 2, 2004, at 08:40 PM, Doug Lerner wrote:
Wouldn't that just signal a message when reading data from the socket
is
complete?
Yes, but this one is complete when the buffer is non empty:
read from socket
On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote:
Neither one seems to have anything to do with the push of data from the
other side, does it? I mean, in both cases you still have to invoke the
read from socket command again somehow, like I am already doing,
wouldn't
you?
Do the next
On 1/3/04 2:26 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote:
Neither one seems to have anything to do with the push of data from the
other side, does it? I mean, in both cases you still have to invoke the
read from socket command again
On Friday, January 2, 2004, at 10:34 PM, Doug Lerner wrote:
But... what happens if no data is present? Wouldn't it cause a
cpu-intensive-slowing-down loop like:
read
nothing's there so finished so signal read
?
No. Isn't that cool?
How would you know that? For me I wanted it so bad, when I
On 1/3/04 2:40 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Friday, January 2, 2004, at 10:34 PM, Doug Lerner wrote:
But... what happens if no data is present? Wouldn't it cause a
cpu-intensive-slowing-down loop like:
read
nothing's there so finished so signal read
?
No.
Why not?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Lerner
Sent: Friday, January 02, 2004 7:41 PM
To: How to use Revolution
Subject: Re: A message for data waiting at a socket?
--- snip ---
What would be nicer though is if data were pushed from
On Friday, January 2, 2004, at 10:45 PM, Doug Lerner wrote:
Uh, what OS are you using?
I am developing using Mac OS X, but this must end up being a
cross-platform
client. Why?
I've been using Windows (2K class), OS X and some Mac OS. I think this
all works on all of those. I keep worrying
On 1/3/04 2:49 PM, Phil Davis [EMAIL PROTECTED] wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Lerner
Sent: Friday, January 02, 2004 7:41 PM
To: How to use Revolution
Subject: Re: A message for data waiting at a socket?
--- snip
On 1/3/04 2:54 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Friday, January 2, 2004, at 10:45 PM, Doug Lerner wrote:
Uh, what OS are you using?
I am developing using Mac OS X, but this must end up being a
cross-platform
client. Why?
I've been using Windows (2K class), OS X and some
17 matches
Mail list logo