From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c2502d8315310645,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-08 12:17:06 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!swiss.ans.net!news.ans.net!interaccess!nwchi-d108.net.interaccess.com!ashleyac From: ashleyac@interaccess.com (Arthur C. Ashley) Newsgroups: comp.sys.dec Subject: Help with C Socket programming using VMS/UCX Date: Wed, 8 Feb 1995 12:17:06 Organization: InterAccess,Chicagoland's Full Service Internet Provider Message-ID: NNTP-Posting-Host: nwchi-d108.net.interaccess.com X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4] I'll explain what I'm trying to accomplish and then, hopefully, someone will be able to point me in the right direction--- I need to write a TCP/IP Server Program which can handle an unlimited number of client requests for data. (Not really unlimited, but you know what I mean.) I don't think a single thread will be able to handle the volume at peak times so I would like to be able to create subprocesses to handle the requests. These subprocesses could then either send the response directly to the client or return the info to the parent. I expect the volume could be anywhere from 10-2000 requests per minute. Each message from the client could be 25-100 bytes long. Depending on the request, the response could be anywhere from 3-4 lines of up to 80 characters each, to 100-300 lines of 80 characters. My questions are: How do you do it? What is a good source of information? What the most efficient way to implement this? I expect it will bring my current system to a standstill, how can I estimate the effects of this? Etc. etc. I need to be able to tell my boss what it would take in both programming and hardware resources. I'm not a C programmer and I'll be able to assign a programmer to look into this next week but, of course, I need to know the information this week. We are running VMS 5.5-2 and UCX 3.1 on a cluster of MicroVAX 3100s. We are expecting to use, initially, a 56KB connection to the Internet. Arthur Ashley ashley@stats.com STATS, Inc. 8131 Monticello Ave. Skokie, IL 60202