Deane,
don't forget to set Min- and MacConnections properties of the
ServerSocket, since
the server socket inits with a very small amount of available
server connections in its pool.
This may result in problems, if you need to serve several connections
in parallel.
Using RB 5.5.5., I never had problems like your one. Things work
fine at our site and at sites of customers.
Connection times/latency are much longer than - say - apache's times.
Based on a not too big number of clients - web clients especially - this
shouldn't be a problem at all.
In case you'd like to compare your solution against another one, try
this:
http://www.turingart.com/abForWeb_lan__en.htm
Cheers
Am 29.05.2006 um 01:33 schrieb Deane Venske:
Hi Keith,
I'm not having problems at all, everything works just fine. The
issue is the speed of the establishment of comms. Stephen has at
least confirmed it's not me and is a known problem, so I'm going to
worry too much over it. If it becomes a concern for my clients down
the track I may just need to write my service in C++.
Thanks,
Deane
Hi Deane,
I use the ServerSockets without problems. Any chance you're using
a local
instance of the ServerSocket and it's going out of scope at the
end of your
method?
Keith DeLong
Hey Guys,
Am I completely missing something? I've tested a basic server
socket,
receives a connection, sends a tiny response and closes down.
Taking like
120ms(0.12s) all up. VB, winsock control looking at like 14ms
(0.014s) to
do the same thing. Is this something that I'm not going to be
able to
improve using RB's standard sockets? I'm doing the bare minimum
(4 lines
of code) to get the RB side going. That may be my problem, I just
don't
know enough.
Thanks,
Deane Venske
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>