Search Results

Search: Posts Made By: EltonSky
Forum: Programming 09-04-2006
2,185
Posted By EltonSky
I m afraid I didn't describe my question enough....
I m afraid I didn't describe my question enough. My senario is : I use browser to request a file to server1 , server1 relay the request to server2, and server2 server the file to browser.

The...
Forum: Programming 09-03-2006
2,185
Posted By EltonSky
Redirect Browser
Hello guys,

Is it possible to redirect browser to another socket address?

Cheers,

Elton
Forum: Programming 08-31-2006
5,577
Posted By EltonSky
Hi guys, This my problem prone code: On...
Hi guys,

This my problem prone code:

On server side:
.
.
.
void reply(int s, SizedBuffer p, char *type)
{
SizedBuffer sBuf;
char *r;
char l[10], whole[10];
int dataStart;...
Forum: Programming 08-30-2006
5,577
Posted By EltonSky
Thanku blowtorch, Ye, I think that's a way....
Thanku blowtorch,

Ye, I think that's a way. But why cannot we use 2 write() in a row? why that could crash read() on client? Do anybody know this?


Chees,

Elton
Forum: Programming 08-30-2006
2,986
Posted By EltonSky
Yes Corona, I m gonna do sth like that,...
Yes Corona,

I m gonna do sth like that, consider the number of connections, served file size, RTT, etc. and also availabilty of servers. I just wanna get more ideas about that~

Cheers,

Elton
Forum: Programming 08-30-2006
5,577
Posted By EltonSky
It's really a frustrating problem :( I m...
It's really a frustrating problem :(


I m trying to use 2 write() in a row, first write() is used to send file size, 2nd send the file. On client side, I use malloc() for the buf size and free...
Forum: Programming 08-30-2006
5,577
Posted By EltonSky
Problem with read & write
Hello mates:

I met problem with using read() & write(). I m trying to use read twice on client first time is the size of buffer, 2nd time is the buffer. I think I have to, coz I dnot know file...
Forum: Programming 08-27-2006
2,986
Posted By EltonSky
Oh....yes, I m going to balance the throughput of...
Oh....yes, I m going to balance the throughput of some replication webservers. Thire I/O load. But my lecture really use "Load balancer" rathre than "Load Leveler".... :confused:

Regards,

Elton
Forum: Programming 08-26-2006
2,986
Posted By EltonSky
Load Balancer
Halo mates,

I m going to write a load balancer with C. Does anybody know some good reference on this?

Cheers,

Elton
Forum: Programming 08-23-2006
2,175
Posted By EltonSky
Thanku matrixmadhan, It can accept...
Thanku matrixmadhan,

It can accept connection before using fork(), but cause error at 2rd time. the error msg is :

In function Accept() :
accept() : returned -1, errno=EINTR (Interrupted...
Forum: Programming 08-23-2006
2,175
Posted By EltonSky
Trouble with using fork()
Hello guys,

I m working on a chat program with C. I finished the iterative server and it's working well. But once I add fork(), I met problems. I cannot use close or exit, otherwise I cannot...
Showing results 1 to 11 of 11

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