Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : General Internet Questions
| Subject: | General Internet Questions |
| Posted by: | "Max Jagger" (gran..@techemail.com) |
| Date: | Thu, 26 May 2005 19:16:51 |
Hi everyone,
Background: I am new to Internet programming, I am using Indy 9 with
Delphi 4. I am creating a multi-threaded server (using TIdUDPServer), with
each thread being able to send data transmissions.
Question #1: Is type TIdSocketHandle thread-safe for the Send and Recv
methods? Note: in my server, multiple threads ARE allowed for the same
client (multiple simultaneous transactions per client).
Question #2: I came across SetSockOpt; what does the Id_SO_DONTROUTE
option do with UDP? Will it optimize for speed or something?
Question #3: Is there a way to query the transmission speed of a
client/server connection via Indy or some other API?
Question #4: If I send out a continuous stream of packets without
waiting for ACK packets, will I overflow the buffer of the server? How does
this buffer work? Is it automatically handled by Indy? If it will overflow,
how do I query the buffer size to work around it?
Any responses are appreciated! Thanks everyone!
Max Jagger