Sockets/Linux/C question

new topic     » topic index » view thread      » older message » newer message

Hello folks,

Cense, your assistance earlier was tremendous and greatly appreciated. I used
what
you said to help make my connections routine work nicely.

But now, I fear I'm back with another query... I'm wondering if anyone out there
knows anything about sockets in linux that might help me. As I've said before, I
began coding a MUD from Pete's example of a client server with my own ideas
worked
into it. I am now online and open to the public and I am having a horrible
problem
with lag.

It seems that the accept() and the poll() commands seriously lag the game when
even
one of the sockets has a bad connection. Polls timeout is now set to 50 and
accept
as far as I've seen, does not have a timeout. Can anyone steer me in the right
direction, provide me a couple of clues or aid me in this way at all?

Thank you for your time,

Kayhlan

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu