Search Results

Search: Posts Made By: jnuno
Forum: Programming 12-17-2002
2,188
Posted By jnuno
I already know...
I must open the requested file and perform fread() from the file followed by write() to the socket, until fread returns 0... I'm doing this in blocks of 1024 (don't ask me why?!?)

Thanks anyway!...
Forum: Programming 12-16-2002
2,188
Posted By jnuno
basic server
Hi,

Could you explain me how to send a file to the browser that connects to my server and requests GET /index.html? Do I open the file index.html and send it through the socket? What parameters...
Forum: Programming 11-19-2002
5,667
Posted By jnuno
Thanks, I got it! ;)
Thanks, I got it! ;)
Forum: Programming 11-19-2002
5,667
Posted By jnuno
select() and read()
Hi,

Could you please tell me how can I know which position a given read descriptor ocuppies in the descriptors table.

I know that, for instance, 'stdin' ocuppies position [0]... what about the...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy