Re: Suggestions on how to handle this more efficiently
From: Marc Rochkind (rochkind_at_basepath.com)
Date: 09/04/03
- Next message: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Previous message: Frank Schmitt: "Re: Question about "find" and how to run "wc" & output to a file..."
- In reply to: Materialised: "Suggestions on how to handle this more efficiently"
- Next in thread: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Reply: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 04 Sep 2003 10:42:12 -0600
On Thu, 04 Sep 2003 16:54:54 +0100, Materialised
<materialised@ntlworld.com> wrote:
> Hello everyone,
> I have just started programming in c on freeBSD. I have been reading
> Beej's Guide to network programming, and am currently developing my first
> program, a tcp based 1 on one chat client and server.
>
> I am looking for suggestions on how I can handle the sending and
> recieving of the strings differently, rather than having a continuous
> loop running through the program, as to me this doesnt seem very
> efficient.
>
Can you be more specific about what it is that doesn't seem efficient to
you? That is, what is it that you are trying to minimize and what it is
about this program that you think isn't minimizing it.
(The program as you have written it can block in various places, and
blocking, assuming that there is nothing else that the program can usefully
do, is very efficient.)
--Marc
- Next message: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Previous message: Frank Schmitt: "Re: Question about "find" and how to run "wc" & output to a file..."
- In reply to: Materialised: "Suggestions on how to handle this more efficiently"
- Next in thread: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Reply: Materialised: "Re: Suggestions on how to handle this more efficiently"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|