|
I am going to say either impossible or very complex. Ask at OSR online though, that's where kernel experts hang out, someone else might have a suggestion.
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
Dear Friends,
I have header file named as sample.h. My intention is, I don't want to modified this header by others (programmer). So I decided to create lib file for this header file alone.whether is possible??
I don't know whether my approach is right..
kindly help on this..
your suggestion are highly appreciated.
Thanks
S. Shanmuga Raja
modified 9-May-14 3:22am.
|
|
|
|
|
I don't see your point. Both header and lib file are needed in order to link with a library.
Veni, vidi, vici.
|
|
|
|
|
You cannot prevent people from modifying the header file, but it will not be much use to them if it does not match the library that comes with it.
|
|
|
|
|
It would be easier to just make a DLL if that is all you are trying to do.
In vino veritas
|
|
|
|
|
I am not trying to do anything. And whether it's a static library or DLL makes no difference.
|
|
|
|
|
Lazy man.
Veni, vidi, vici.
|
|
|
|
|
Hey, I'm retired, I'm supposed to be lazy.
|
|
|
|
|
The Lion never sleeps.
Veni, vidi, vici.
|
|
|
|
|
Parturiunt montes, nascetur ridiculus mus.
|
|
|
|
|
Hello everybody.
I`m working on a project about Man In The Middle Attack by ARP poisoning method.
In this project I need to work like as a router. For example suppose In My Lan there is two other device (a modem & a laptop). I says to laptop that I`m the modem to fraud it. whenever the laptop wants to send a packet to outside of the LAN, sends the packet to me! All thing I need is I want to send the received packet to the modem & sends the response to victim laptop.
How can I do it programmatically?
Thanks a lot. Ya Ali.
|
|
|
|
|
I don't think anyone here is going to help you to create a program that can be used for illegal purposes.
|
|
|
|
|
There is already at least a program that does this rather good. It's called "Ettercap". No need to reinvent the wheel.
-- Gisle V.
|
|
|
|
|
I made two program , client and server.
The client program send a big data to the server using "send" windows API. I used a thread to send the data. in this case , my server took 5 minutes to receive 500Mb data. I want to reduce the time it takes.there any way to do that ?
tú xương
|
|
|
|
|
Without knowing anything about your programs, your computers or your network it is impossible to make a useful suggestion.
|
|
|
|
|
Exactly. On our internal network that is wired with terribly expensive switches it was possible to reach constant 100MByte/sec with good hardware and windows but some things had to be tweaked for that. The SO_SNDBUF and SO_RCVBUF socket options are definitely among these tweakable things, I used 1-2 megabytes if I remember right.
|
|
|
|
|
I think you should tell the OP about that.
|
|
|
|
|
Come on Richard, we all know moving them closer together makes it faster!
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
You first have to test how your average speed (about 13 Mbit/s) compares with the speed of your network and then (if it is the case) investigate to find out the bottleneck. You should probably first check your own code, I strongly doubt the (possible) bottleneck is caused by the send call.
Veni, vidi, vici.
|
|
|
|
|
Get a faster network card....
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
If your connection is faster, then yes.
In general, to achieve maximum performance, you will need a high performance protocol and I am not sure the Send API you are referring to falls into that category.
Typical characteristics for high performance protocols are:
* UDP based
* Packet loss tolerant
* Latency tolerant
You may have to write your own protocol, or Google for "high performance open source UDP file transfer" and you may find something.
Regards
|
|
|
|
|
I am preparing for my exams and i just found this question from previous question papers:
Give the C Expression for the following algebric expression :
1. ab^4c^2-d/m-n
2. ab-[{(e+f)^9}/c}]
Please help me as i am preparing for my exams and haven't read this topic yet.
help plz
|
|
|
|
|
himanshuchawla4393 wrote: and haven't read this topic yet. Then I suggest you read it; it will not help you if you just copy the answers from other people without understanding what it means. You can find all the information you need at http://msdn.microsoft.com/en-us/library/fw5abdx6.aspx[^].
|
|
|
|
|
Hi,
I am new to MFC. Can anybody tell me how to check the CDateTimeCtrl is dirty or not
Thanks in advance
|
|
|
|
|
Depends what you mean by "dirty".
|
|
|
|