Search:

Type: Posts; User: s_Fanous

Search: Search took 0.00 seconds.

  1. This still takes me back to my 2 questions Why...

    This still takes me back to my 2 questions

    Why is the value returned from recvfrom different than ip_len, and why is ip_len already in host byte order?

    How can I know if ip_len would be in host...
  2. I changed the buffer to 255, same results. ...

    I changed the buffer to 255, same results.



    I'm not sure what you mean exactly. Actually I should say that don't have a lot of experience with sockets programming and was very confused about...
  3. Sorry for the late reply I'm writing a ping...

    Sorry for the late reply

    I'm writing a ping application for the iPhone :D. However I'm not using SOCK_RAW as this requires root privilege. I'm using SOCK_DGRAM and IPPROTO_ICMP.

    I can't post...
  4. for (int i = 0; i < packetLength; i++) { ...

    for (int i = 0; i < packetLength; i++)
    {
    char buffer[1];
    sprintf(buffer, %02X, packet[i]);
    printf("%s", buffer);
    if (i % 2)
    printf(" ");
    if (i % 16 == 15)
    ...
  5. Return value from recvfrom is different from ip_len

    Hello

    I'm facing a very confusing issue. I'm working on a sockets program and am faced with the following issue.

    The value returned from the call to recvfrom is 84 bytes. However the value in...
  6. Replies
    5
    Views
    6,754

    Hello Salem Thanks for the links, but they...

    Hello Salem

    Thanks for the links, but they don't contain what I'm looking for. Perhaps if I provide further information on why I need this it might help.

    I'm communicating with a smart card...
  7. Replies
    5
    Views
    6,754

    Which is the case in my situation. There's no...

    Which is the case in my situation. There's no flow control.
  8. Replies
    5
    Views
    6,754

    Serial Port Monitor Control Signals Changes

    Hello

    I'm coding a program that needs to monitor changes in serial port control signals (cts, rts, dtr, dcd), to be more specific I'm interested in cts changes.

    Is there any blocking system...
Results 1 to 8 of 8