175 |
|
|
176 |
|
|
177 |
/** |
/** |
178 |
|
* Read a single byte. The byte is returned as an int in the range 0 |
179 |
|
* to 255. |
180 |
|
* @param S A Socket_T object |
181 |
|
* @return The byte read, or -1 if the end of the stream has been reached |
182 |
|
*/ |
183 |
|
int Socket_readByte(Socket_T S); |
184 |
|
|
185 |
|
|
186 |
|
/** |
187 |
* Reads size bytes and stores them into the byte buffer pointed to by b. |
* Reads size bytes and stores them into the byte buffer pointed to by b. |
188 |
* @param S A Socket_T object |
* @param S A Socket_T object |
189 |
* @param b A Byte buffer |
* @param b A Byte buffer |