Re: Final Confusions on Concurrent Server

2009-11-04 Thread Joe Reichman
: Re: Final Confusions on Concurrent Server The SELECT macro returns a bitmap of sockets, with the ones set to 1 (and not 0) being the ones that been connected to (assuming the socket is a listener socket). You simply do an ACCEPT of that socket. Your program I would think already knows what

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Frank Swarbrick
I thought he was looking for the server port, not the client port...? On 11/4/2009 at 5:33 PM, Chuck Arney wrote: > The Socket Address structure returned by ACCEPT contains the client port > number of the connection you just accepted. >>> The information contained in this electronic communica

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Frank Swarbrick
ember 04, 2009 7:34 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Final Confusions on Concurrent Server > > The SELECT macro returns a bitmap of sockets, with the ones set to 1 (and > not 0) being the ones that been connected to (assuming the socket is a > listener socket).

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Joe Reichman
-MAIN@bama.ua.edu Subject: Re: Final Confusions on Concurrent Server I'm not sure I understand your question. The server would normally LISTEN for incoming CONNECT requests on a socket address that has been made "well known". For example, this could be IPAddress 66.102.7.139 an

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Frank Swarbrick
letion > > Of the ACCEPT) is never posted by TCP/IP > > -Original Message- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf > Of J R > Sent: Wednesday, November 04, 2009 4:55 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Final Confusio

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Chuck Arney
. > -Original Message- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Joe Reichman > Sent: Wednesday, November 04, 2009 5:41 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Final Confusions on Concurrent Server > > Sorry if I wasn'

Re: Final Confusions on Concurrent Server

2009-11-04 Thread J R
rry if I've misunderstood. === > Date: Wed, 4 Nov 2009 12:17:11 -0500 > From: joereich...@optonline.net > Subject: Re: Final Confusions on Concurrent Server > To: IBM-MAIN@bama.ua.edu > > Is there a way for the server to know

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Joe Reichman
Is there a way for the server to know what port the client is trying to connect to Sent from my iPhone On Nov 4, 2009, at 9:59 AM, J R wrote: Multiple concurrent connections between a client and server are achieved by use of so-called "ephemeral ports" at the client end. The port number

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Joe Reichman
...@bama.ua.edu] On Behalf Of J R Sent: 04 November 2009 14:59 To: IBM-MAIN@bama.ua.edu Subject: Re: Final Confusions on Concurrent Server Multiple concurrent connections between a client and server are achieved by use of so-called "ephemeral ports" at the client end. The port number at

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Ward, Mike S
...@bama.ua.edu] On Behalf Of J R Sent: Wednesday, November 04, 2009 8:59 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Final Confusions on Concurrent Server Multiple concurrent connections between a client and server are achieved by use of so-called "ephemeral ports" at the client end. The port

Re: Final Confusions on Concurrent Server

2009-11-04 Thread Rob Scott
Email: rsc...@rs.com Web: www.rocketsoftware.com -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of J R Sent: 04 November 2009 14:59 To: IBM-MAIN@bama.ua.edu Subject: Re: Final Confusions on Concurrent Server Multiple concurrent connections

Re: Final Confusions on Concurrent Server

2009-11-04 Thread J R
Multiple concurrent connections between a client and server are achieved by use of so-called "ephemeral ports" at the client end. The port number at the server end is predetermined and fixed so that a client always knows where it has to connect to. It is not necessary that the port