|
Re: Simple BSD Sockets Problem
Your separate commands send the USER command then the NICK command, but your all in one sends NICK then USER. I don't know if that would cause the problem, but it would be worth checking out.
Also I would be tempted to use sizeof(userCommand) - 1 as the length to send, otherwise you are sending an extra zero byte which might be confusing the other end.
|