[twsocket] Socket server overhead

2005-10-08 Thread Werner
Hi, I have an application that continueous (every 500ms) have contact with a machine by rs232. Main thread. I want to send some information by socket when an external program ask this. So this program must also listen as a server socket. My question: when a server socket is in listening mode,

Re: [twsocket] Socket server overhead

2005-10-08 Thread Wilfried Mestdagh
Hello Werner, The component itself will take about 2 KB of memory. A listening socket (is a socket in rest) will take about 4 KB (nonpaged) memory. A data socket (if a client is connected) around 8 KB (nonpaged) because it is sending and receiving. As for other recources like CPU load etc, it is

Re: [twsocket] Socket one to one

2005-10-08 Thread Wilfried Mestdagh
Hello Werner, You always need a listening socket to accept inbound connections. When a client connect you accept/dup the client to a data socket. Server stay listening. You can use a normal TWSocket as server and handle the creation of data sockets, but then you are just re-inventing

Re: [twsocket] Socket one to one

2005-10-08 Thread Dan
- Original Message - From: Werner [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, October 08, 2005 9:02 AM Subject: [twsocket] Socket one to one Hi, Is it possible to have a socket connection from client to client ? Because I need only a 1 to 1 connection, I don't need a