Re: select(), sending and receiving data



Hi again,

I tried the whole day to manage this problem, but nothing worked.
I don't understand, how FD_SET is to use. FD_SET is something I have to
set or not, but when I set it, how should I now, if the server sends
data or not in this moment. It's only possible either to set
FD_SET(sock, &readfds); or FD_SET(sock, &writefds); but never both. I
don't understand the weird behaviour of the program, because anything
must me wrong there. I still have to type at least one character to
receive the message of the server. Then I'm able to type again.
Usually I should immediately receive the message after the connection to
the server.
.



Relevant Pages

  • Re: SRCP Protokoll Lexik
    ... Encoding of SRCP Messages ... by the numeric value of the character. ... Information sent by the server is subject to the same terms. ... Replies and Information Messages are always proceeded by a time stamp. ...
    (de.rec.modelle.bahn)
  • Re: I see Death Knights! I see them everywhere!
    ... data on the realm servers they are part of, or if they have a separate ... character server. ... Not to mention that Armory is able to access character data across all ...
    (alt.games.warcraft)
  • Re: Runes of Magic
    ... server v server PvP which I haven't seen before, ... I've played a game where I have had warnings flash up on screen that the GPU ... Character customisation is better than most, ... "channels" and players keep switching between them. ...
    (uk.games.video.misc)
  • Re: Bind and stuff
    ... not a legal character in node and domain names. ... "The skinny on the dreaded underscore character ... Some people reject names with underscores in them at the DNS server ...
    (comp.os.vms)
  • Re: How do I stop a Winsock from buffering characters?
    ... from the client code and have the server see it right away. ... I don't see the server reads that you're talking about as having dropped ... first character of the client send. ... public delegate int MessageFn(long MessageType, ...
    (microsoft.public.windowsce.embedded)