On Tue, 09 Oct 2001 14:31:01 -0400, Gary Liu
>This is a multi-part message in MIME format.
>--------------1FE0D12131707641CD2EA926
>Content-Type: text/plain; charset=gb2312
>Content-Transfer-Encoding: 7bit
>I have a client and server using socket to transfer data. I give a port
>number 111964.
No, you don't. TCP and UDP ports range from 0 to 65535; the port you
_say_ you use is well beyond the upper bound of that range.
>After start program everything is fine. But I found that my program is
>not using the port number I give. (lsof -p12321, 12321 is process ID).
>Is that my port number too large?
Yes
>What is the range of port number?
0 to 65535
>Thanks
>Gary
>--------------1FE0D12131707641CD2EA926
>Content-Type: text/x-vcard; charset=gb2312;
> name="gary.liu.vcf"
>Content-Transfer-Encoding: 7bit
>Content-Description: Card for Gary Liu
>Content-Disposition: attachment;
> filename="gary.liu.vcf"
>begin:vcard
>n:Liu;Gary
>tel;fax:404.927.3391
>tel;home:770.457.6736
>tel;work:404.927.7695
>x-mozilla-html:FALSE
>adr:;;675 W. PeachTree st.;Atlanta;GA;30375;USA
>version:2.1
>fn:Gary Liu
>end:vcard
>--------------1FE0D12131707641CD2EA926--
Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group
(Opinions expressed are my own, not my employer's.)