Hi everyone. Im developing a interface for a server program and I have some
problems.Step by step:
- I put the server in listen:
fd_dealer2server=socket..
bind
listen(fd_dealer2server,MAX_CON)
- I create a channel and I add a watch to the the port binded for everytime
a data goes
I suspect you need an accept() call in there somewhere on the server
side. When the listen socket becomes readable, it is time to call
accept() and then possibly create another channel with the resulting
socket, etc.
At least that is the sort of thing I do in netperf4:
On Thu, 2007-04-12 at 13:36 -0700, nahuel9728 wrote:
Hi everyone. Im developing a interface for a server program and I have some
problems.Step by step:
- I put the server in listen:
fd_dealer2server=socket..
bind
listen(fd_dealer2server,MAX_CON)
- I create a channel and I