Boost logo

Boost Users :

Subject: Re: [Boost-users] acceptor listen
From: Marco Piacentini (marcopiacenta_at_[hidden])
Date: 2011-03-04 04:01:08


I've read all the manual, all the tutorials, all the example and I don't want that someone make the job for me. I came from java world, where all is documented, all is explained in detail... I thought that a mailing list was a place where obtain help, especially if the question are detailed (I don't ask "make something for me. stop."). I think your answer is rude, so reserve the expression RTFM for other people. ________________________________ Da: "Viatcheslav.Sysoltsev_at_[hidden]" <Viatcheslav.Sysoltsev_at_[hidden]> A: boost-users_at_[hidden] Inviato: Ven 4 marzo 2011, 09:29:41 Oggetto: Re: [Boost-users] acceptor listen On Fri, 04 Mar 2011 08:26:15 +0100, Marco Piacentini <marcopiacenta_at_[hidden]> wrote: > 1)Hi guys...I've seen the tutorial and the example, but I don't understand why > the function listen() of the acceptor is never called...despite that new > connections arrived...how is it possible? The examples from boost page don't work for you? If they do, there is obviously something there that you forgotten in your code. > 2)By the following instructions, I create a socket(a connection socket?????or a > listening socket???) and then pass it at the acceptor > > tcp::socket sock (ioserv); > acceptor.accept(sock); > > 3)Now, how can I obtain the other socket(connection or listening dependind on > the previous question)? > In C, I simply use the socket descriptors which are passed as arguments to the > various functions (listen, bind, accept) and these functions return in some > cases another socket descriptor. > Then these descriptors are used to closed the different sockets. > Here, with boost, I don't know how make that. > Please help me. > Thanks.. You are having problems with *basic things*, do ***RTFM*** end experiment. Nobody should do your job for you. --Slava _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net