|
THANK YOU!!!!!!!!!!!!! (5)
|
|
|
|
|
I would like to transfer files betwen a client and server that I have created using Socket programming.Please can some one send me the code.
|
|
|
|
|
shals169 wrote:
Please can some one send me the code
oh, you want the entiere code ? nop, sorry, we do not do homework here. but i can help you...
if you want to send an entiere file through sockets, you must use connected sockets.
then, before sending you fil, you can send a description for it. for example, its size, its name...
this way, the receiver will create a consequent named file and a buffer for the socket received datas.
then, you just have to read and write, until the end of file is reached.
you say you created a client and a server, so a consider you know how sockets works and how to use the sock API. But when you say so, it is troubling me because it is like you would like to use THIS client and THIS server. if they are not programmed for that, you won't be able to use them, otherwise you question is useless...
regards,
TOXCCT >>> GEII power
|
|
|
|
|
Check out CodeProject code section. There are examples of numerous non-blocking I/O models.
Kuphryn
|
|
|
|
|
I have a working C++ project which I wish to have encapsulated into a COM dll and not being a C++ developer myself I was wondering how much effort would be involved in something like that (in general)
Basically I just want to provide interfaces into the work being done so .Open(FileName) instead of clicking File-Open in the app
--Tony Archer
"I can build it good, fast and cheap. Pick any two."
|
|
|
|
|
First of all create an ATL/COM project in vc.
and in workspace viewer add an interface to it.
then add a method to the interface.
then write the code behind the method( you cane copy and paste the code from your C++ code!)
It needs a bit hard work;)
Kamyar Souri
Booria CAD/CAM Systems
www.booria.com
|
|
|
|
|
When i tried to modify one of the previous messages i posted (bottom of my own profile), shows -
"This message was not posted using your member account, therefore you cannot delete or modify it"..!!!!! then who..???
is it a B.U.G ????????
I want to change Myself..Can u help me?
|
|
|
|
|
help the man , i neeed his post ..;P pls pls pls
|
|
|
|
|
Does anyone know where I might find a class to parse/read a RSS stream ? Would a simple Xml reader class suffice ? (I know nothing about RSS standards)
I basically want to extract information from an RSS feed.
Thanks.
R.Bischoff .NET, Kommst du mit?
Great Freeware -> Abilon - Rss Reader | Zip Genius | SmartFTP
|
|
|
|
|
You can use any XML parser class, just take a look at the RSS specifications (0.91, 0.91, 2, ..) to make sure you parse the RSS feed correctly.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
|
dows any one know how to open and read the data from an excel file using VC++ / borland c builder?
|
|
|
|
|
i think it is the time to write an article on Excel automation, i wrote that 60%; 40 more.. wait buddy
I want to change Myself..Can u help me?
|
|
|
|
|
MSDN Oct 2001->[Topic}Video Drivers and the I2C Bus->
To support Video Drivers and the I2C Bus, see the current DirectX DDK.
I could not found that topic. Can any one say me exact topic of i2c in DirectX.
|
|
|
|
|
MFC Application gets hang while printing to Acrobat PDFWriter...
Jignesh H Suthar
|
|
|
|
|
Dears:
I want to read some data from file and store it in array. I face some problems, need help from you all^^
1.I use fscanf(...) to read. but i failed to detect the end of line.
2.6.2478916055375
When i read this number using
Long lBuf;
fscanf(pfile, "%ld", &lBuf);
It fails. The result is lBuf=6.
Is there another way to read it?
Thanks^^
|
|
|
|
|
fscanf(pfile, "%l\n", &lBuf); perhaps...
TOXCCT >>> GEII power
|
|
|
|
|
From the following code, why after the program terminates,
m_listSampleName[i] for i=0 to m_nSampleNumber share the same datas?
I have tried to debug, but I don't find out where is the error?
Please help. Thanks a lot before.
m_nSampleNumber = 0;
while(!in.eof())
{
in>>strBuf;
if(strcmp(strBuf,"END"))
{
m_listSampleName[m_nSampleNumber] = strBuf;
m_nSampleNumber++;
}
else
break;
}
|
|
|
|
|
FYI,
char* m_listSampleName[MAX_GENE_NUMBER];
Is the error on the member declaration?
|
|
|
|
|
"%ld" is asking for a long interger value; therefore, it returns an interger value (what you asked for).
double d;
fscanf(pfile,"%f",&d);
result should be d=6.2478916055375.
INTP
|
|
|
|
|
Dear all,
I am new for this site as well as for VC++. I recently got a job
I am working on data compression/decompression. Be very much clear Not file compression/decompression.I am to compress the data cluster by cluster of any harddisk. how can i compress a cluster into bytes or sector? I have no clue about it
All suggestion are welcomeed .
Thanks
snav
|
|
|
|
|
this is a crap idea! if you compress a cluster then the cluster is not full anymore. if you move other data in there then, then you need much time to decompress the whole thing again... in my opinion a silly idea, not worth the work on it. by the way, coding this is quite complicated, too, because it has to run as a storage filter driver.
Don't try it, just do it!
|
|
|
|
|
Hi
Alexender
Thanks for the suggestion and replay.
I agree with u but what i just want to do. I read a cluster using ReadFile() function and keep it in buffer . Now my question is how to compress this data which is in buffer so that if i write it any other place as a backup. It takes less memory space in HDD or any other storing device.
I am to compress files but cluster by cluster because i want to store the backup of this file in bytes(row) form not in file form [compressed file takes clusters again wastage of space ] .
This might be crap idea. But u would be able to help me , i'll be thankfull.
Now Ball is in your goal
|
|
|
|
|
I've got HUGE problems with floating point precision lost
in the following code:
- s*(a.y-c.y) - h*(b.y-c.y)
where
s = h = 0.333....
c.y = 0.675
a.y = b.y = 0
The result is about 5.e-17 (as I understand, NAN).
How to overcome the problem, forex
find out that precision lost occured.
Thank you for help, A. M.
gp123456
|
|
|
|