Article View: borland.public.cppbuilder.internet.socket
Article #5717Re: Creating Socket dynamically
From: Omar Zelaya
Date: Mon, 05 Jul 2004 20:19
Date: Mon, 05 Jul 2004 20:19
23 lines
1595 bytes
1595 bytes
You can do this using TServerSocket: SvrSocket = new TServerSocket(NULL); SvrSocket->Active = false; SvrSocket->Port = PortNo; SvrSocket->ServerType = stThreadBlocking; SvrSocket->ThreadCacheSize = CacheSize; SvrSocket->OnGetThread = ServerSocketGetThread; SvrSocket->OnClientConnect = ServerSocketClientConnect; SvrSocket->OnClientDisconnect = ServerSocketClientDisconnect; SvrSocket->Active = true; "Orlando Lopez" <hlopezrd@hotmail.com.do> wrote in message news:40e9b6fd$1@newsgroups.borland.com... > > Hi to all, > > what would have to do to create sockets dynamically(client and > server). My problem is that I have to create many sockets > connections at run time. What can I do? > > > Orlando.
Technical Details
Message-ID:
<40f2e3d9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40e9b6fd$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e5255999b3182541 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Omar Zelaya" <ozelaya2010@hotmail.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <40e9b6fd$1@newsgroups.borland.com> Subject: Re: Creating Socket dynamically Date: Mon, 5 Jul 2004 14:19:09 -0600 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 200.30.163.216 Message-ID: <40f2e3d9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089659865 200.30.163.216 (12 Jul 2004 12:17:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail