[twsocket] Over TWSocketServe
Hello, Time ago that use the components ICS and I they like a lot. Now I have a new challenge, to create a server of sockets, the clients are connected and they are used their own thead. I do not find a clear example of how this do. Someone knows some program of example and can help me?. Thanks by your attention. Anne. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
Is there a example over how socketserver send data to several clients? Do you mean TWSocketServer ? If yes, then TWSocketServer doesn't send anything to client. It manage client connections which in turn are handle by a separate TWSocket instanciated by TWSocketServer. TWSocketServer has ClientCount and Client[] properties which allows you to iterate thru all connected clients and - for example - send something to each one. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
What difference there is between to use the ICS and the Delphy library (TServerSocket)? This is not the place to discuss such topic. You are posting in ICS support mailing list where you can talk about ICS. If you want to compare product, use the general purpose maling list [EMAIL PROTECTED] (same server you see). btw: TServerSocket is deprecated since something like 5 years. Forget about it. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
Hello Ana, That is deprecated means that is better to use other component? yes --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
That is deprecated means that is better to use other component? Regards. From: [EMAIL PROTECTED] To: twsocket@elists.org Date: Fri, 12 Oct 2007 14:26:39 +0200 Subject: Re: [twsocket] Over TWSocketServe What difference there is between to use the ICS and the Delphy library (TServerSocket)? This is not the place to discuss such topic. You are posting in ICS support mailing list where you can talk about ICS. If you want to compare product, use the general purpose maling list [EMAIL PROTECTED] (same server you see). btw: TServerSocket is deprecated since something like 5 years. Forget about it. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
Very thanks. I will see this. I'm sorry, I gave the wrong demo names. The multi-threaded example applications are ThrdSrv, ThrdSrvV2, and ThrdSrvV3 (the last one using TWSocketThrdServer). The single-threaded one is TcpSrv. They are in the Internet directory in the ICS distribution. -dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
Is there a example over how socketserver send data to several clients? Thanks for your help. It is helping much. Regards. From: [EMAIL PROTECTED] Date: Fri, 12 Oct 2007 06:32:45 -0400 To: twsocket@elists.org Subject: Re: [twsocket] Over TWSocketServe Time ago that use the components ICS and I they like a lot. Now I have a new challenge, to create a server of sockets, the clients are connected and they are used their own thead. I do not find a clear example of how this do. Someone knows some program of example and can help me?. Thanks by your attention. Anne. Ha! Deja vu. Check out TcpSrv_2 and TcpSrv_3, these are the multi-threaded demos of the socket server. Demo #2 shows how to use TWSocketServer in a multi-thread implementation, launching a new thread per client. Demo #3 shows the same thing but using TWSocketThrdServer, which is a multi-threaded implementation of TWSocketServer, that manages the threads internally. I'm not an expert on these component, as I'm new to using it too. However, as other discussions on this list mention, depending on your requirements, multi-thread support may not be necessary, as the regular TWSocketServer is asynchroneous and high performance on a single thread. Check out then TcpSrv_1 for an example of a single-threaded multi-client socket server. You'll notice it is a lot simpler to deal with, without the risk and expense of thread synchronization, ans still able to process hundreds of clients concurrently. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Over TWSocketServe
Very thanks. I will see this. What difference there is between to use the ICS and the Delphy library (TServerSocket)? Regards. From: [EMAIL PROTECTED] Date: Fri, 12 Oct 2007 06:32:45 -0400 To: twsocket@elists.org Subject: Re: [twsocket] Over TWSocketServe Time ago that use the components ICS and I they like a lot. Now I have a new challenge, to create a server of sockets, the clients are connected and they are used their own thead. I do not find a clear example of how this do. Someone knows some program of example and can help me?. Thanks by your attention. Anne. Ha! Deja vu. Check out TcpSrv_2 and TcpSrv_3, these are the multi-threaded demos of the socket server. Demo #2 shows how to use TWSocketServer in a multi-thread implementation, launching a new thread per client. Demo #3 shows the same thing but using TWSocketThrdServer, which is a multi-threaded implementation of TWSocketServer, that manages the threads internally. I'm not an expert on these component, as I'm new to using it too. However, as other discussions on this list mention, depending on your requirements, multi-thread support may not be necessary, as the regular TWSocketServer is asynchroneous and high performance on a single thread. Check out then TcpSrv_1 for an example of a single-threaded multi-client socket server. You'll notice it is a lot simpler to deal with, without the risk and expense of thread synchronization, ans still able to process hundreds of clients concurrently. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be