Closed GoogleCodeExporter closed 8 years ago
Could you elaborate more on this please?
Why do you need to get a socket?
Original comment by valenok
on 14 Mar 2012 at 9:21
In my application i have msg queues and i ll check for socket fd using
FD_ISSET..... once server starts listening, mg_context structure is filled
right??... there we have a struct socket *listening_ports as a member in this
structure one of the member is SOCK sock... i want to retrieve this value.... i
have not written any callback.... now i have just called ctx = mg_start(NULL,
NULL, options)
Original comment by divyashr...@gmail.com
on 14 Mar 2012 at 9:31
Mongoose manages it's own socket, why do you need them in your app?
Original comment by valenok
on 14 Mar 2012 at 9:34
more clear...
I have 2 conditions to do work say "A", 1 is I will get a message from another
process through message queues(IPC mechanism) and second from browser i can
read the request.... so i will be checking which fd is to select so how to
retrieve fd....
Original comment by divyashr...@gmail.com
on 14 Mar 2012 at 10:21
I don't think you need to get Mongoose sockets.
Original comment by valenok
on 14 Mar 2012 at 11:50
Original issue reported on code.google.com by
divyashr...@gmail.com
on 14 Mar 2012 at 9:09