Home > Archive > Unix Programming > February 2006 > select server slower
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
select server slower
|
|
| Wenfei 2006-02-17, 6:59 pm |
| I am using "select" on server side(my windows PC). The server talks
with two clients(my handsets using Linux socket) over USBNET, The two
clients have the same program.
The server sends data to one client about every 1 second, but to the
other one about 8 to 10 seconds. The slower one can be either the
first start one or the second start one.
USBNET is an implementation of Ethernet over a USB port. With USBNET, a
PC can treat a handset as an Ethernet network card. I am using TCP.
Same scenario happened even I run two servers, and each client
communicates with its own server.
What are the possible factors to result in this scenario?
Thanks,
Wenfei
| |
| Barry Margolin 2006-02-17, 6:59 pm |
| In article <1140206360.478866.288370@f14g2000cwb.googlegroups.com>,
"Wenfei" <ye_wenfei@hotmail.com> wrote:
> I am using "select" on server side(my windows PC). The server talks
> with two clients(my handsets using Linux socket) over USBNET, The two
> clients have the same program.
>
> The server sends data to one client about every 1 second, but to the
> other one about 8 to 10 seconds. The slower one can be either the
> first start one or the second start one.
>
> USBNET is an implementation of Ethernet over a USB port. With USBNET, a
> PC can treat a handset as an Ethernet network card. I am using TCP.
>
> Same scenario happened even I run two servers, and each client
> communicates with its own server.
>
> What are the possible factors to result in this scenario?
I don't understand the question. Is the server supposed to be sending
data to both clients at the same rate?
Have you tried running Ethereal on the clients and server to see if
there's any packet loss?
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
|
|
|
|
|