This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can the function "connect()" & "listen() + accept()" be used with the same TCP port at the same time ?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Louie Chan" <louie at unitednet dot com dot hk>
- Cc: "Phil Edwards" <phil at jaj dot com>, "Jonathan Lennox" <lennox at cs dot columbia dot edu>, <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
- Date: 16 Mar 2003 16:33:20 -0300
- Subject: Re: Can the function "connect()" & "listen() + accept()" be used with the same TCP port at the same time ?
- Organization: GCC Team, Red Hat
- References: <NFBBLFAPGLMOLOBBMKDDOEOMDPAA.louie@unitednet.com.hk>
On Mar 15, 2003, "Louie Chan" <louie at unitednet dot com dot hk> wrote:
> Does anyone know if I can use the functions "listen() & accept()"
> after one successful TCP connection with the function "connect" ?
This is not a question about GCC, it's a question about whatever C
library you're using on the target system. You fail to specify which
OS and which C library you're using, so we can't even direct you to
the proper forum in which to ask your question. Since it pertains to
socket programming, I suppose newsgroups or mailing lists about Unix
network programming might do.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer