This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can the function "connect()" & "listen() + accept()" be used with the same TCP port at the same time ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]