Posted By:
Boaz_Inbal
Posted On:
Sunday, July 21, 2002 05:08 AM
Hi I'm trying to build a UDP server as a thread with sock.receive. When a message arrives, I handle it. My question is: 1. If I have lot of clients (500-1000), should I still use this method or should I use a thread per connection? 2. Another issue I'm having is that I need to send a reply on the socket. first reply is only ack message and I use the sock.send The problem is that sometimes, I need to generate a message to the client. Should I use this socket object or create another object only for sending data? Thanks a lot!
More>>
Hi
I'm trying to build a UDP server as a thread with
sock.receive.
When a message arrives, I handle it. My question is:
1. If I have lot of clients (500-1000), should I still use
this method or should I use a thread per connection?
2. Another issue I'm having is that I need to send a reply
on the socket. first reply is only ack message and I use the
sock.send
The problem is that sometimes, I need to generate a message to the client.
Should I use this socket object or create another object only for sending data?
Thanks a lot!
<<Less