both had the same result, listen error: 45
but there didn't seem to be a problem binding them either way
both had the same result, listen error: 45
but there didn't seem to be a problem binding them either way
Heh, whoops, mixing my protocols there. You don't listen() for UDP since it's connectionless.
Remove the listen() call and all should be good.
Re: Socket TestBy: Deuce to MCMLXXIX on Tue Apr 29 2008 07:35 pm
both had the same result, listen error: 45
but there didn't seem to be a problem binding them either way
Heh, whoops, mixing my protocols there. You don't listen() for UDP since it's connectionless.
Remove the listen() call and all should be good.
Is there a way to tell if there is anyone on the receiving end? I.E. if you're the only one trying to run the engine it will either wait for
someone to connect, or kick you out. I guess I can make it send a "yo! I'm here!" message when anyone runs it.
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 142:31:29 |
Calls: | 369 |
Files: | 2 |
Messages: | 38,444 |