Search:

Type: Posts; User: dmh2000

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,053

    your variable 'nread' is declared as 'char' which...

    your variable 'nread' is declared as 'char' which means the largest positive value it can hold is 127. the 'read' function returns ssize_t. chances are you are overflowing nread so your loop doesn't...
  2. Replies
    9
    Views
    2,053

    I think i understand what you are trying to do,...

    I think i understand what you are trying to do, since most of the comments are not in english I'm guess a little.

    in your client you are assigning the return value of 'read' to 'bread'. that...
Results 1 to 2 of 2