netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dragoslav Zaric <dragoslav.zaric.kd@gmail.com>
To: Ben Greear <greearb@candelatech.com>
Cc: netdev@vger.kernel.org
Subject: Re: Socket Server breaks after 1000 client requests
Date: Fri, 8 Jan 2010 18:24:22 +0100	[thread overview]
Message-ID: <2d05c4581001080924j159193c4ve45c8db14f89f8cf@mail.gmail.com> (raw)
In-Reply-To: <4B3CF9EC.9070103@candelatech.com>

Thanks Ben,

The error was definitely in my code. I used c++ functions for send and receive.
Now I am using write() and read() system calls to write and read
directly to sockets and
it works flawlessly ;)

When I am sending 100 000 messages in loop from client to server it goes for few
seconds.

regards,

dragoslav zaric

      reply	other threads:[~2010-01-08 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-31 19:11 Socket Server breaks after 1000 client requests Dragoslav Zaric
2009-12-31 19:22 ` Ben Greear
2010-01-08 17:24   ` Dragoslav Zaric [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d05c4581001080924j159193c4ve45c8db14f89f8cf@mail.gmail.com \
    --to=dragoslav.zaric.kd@gmail.com \
    --cc=greearb@candelatech.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).