I wrote a program that creates a TCP and UDP socket in C and starts both servers up. The goal of the application is to monitor requests over the TCP socket as to what UDP packets to send it (i.e. monitor for something like "0x01 0x02" and if I see it, then have the UDP server parse the payload, and forward it over to the TCP server for p...
I am trying to implement a python script which writes and reads to a database to track changes within a 3d game (Minecraft) These changes are done by various clients and can be represented by player name, coordinates (x,y,z), and a description. I am storing a high volume of changes and would like to know what would be an easy and prefera...
I would like to briefly open up my computer and allow my business partener to see what I've been developing on the my localhost. I understand there are probably some security issues with this but I only want to open up my computer for a few minutes...
What do i need to setup on the following interfaces to do this?
my wireless router
w...
Can anyone explain how I can use
$_SERVER['REQUEST_URI']
How can I make it required like: In order to access this page, you have to come from THIS page (both are internal)?
I thought $_SERVER can do this for me, and found the example above in php.net. How can I make use from it?
Thanks
...
I want to build a large scalable database with millions of high dimensional vectors using LSH. Since I have to hold all the data in ram for fast querying, the data must be distributed onto multiple servers to hold all the objects.
A naïve approach would be to spread all objects to different servers and send one query to every server. Th...
Today i got a idea to make an ThreadQueue for C++, for my Server Application.
unsigned int m_Actives; // Count of active threads
unsigned int m_Maximum;
std::map<HANDLE, unsigned int> m_Queue;
std::map<HANDLE, unsigned int>::iterator m_QueueIt;
In an extra Thread i would to handle these while:
while(true)
{
if(m_Actives != m...
Hi!
As I understand there is no way I can get dynamic server time in IE with settimeout() in script.. I found this example:
function timeExam(){
$.ajax({
url : "inc/clock.php",
success : function (data) {
$("#clock_time").html(data);
}
});
var func = function()
{
timeExa...
Hello!
How can I use is_file with a path like: /folder/file.jpg please?
Thank you!
...
Im trying to make a a cleint/server web application where eventually the client application will be deploy on the internet. People told me to use visual studio WCF duplex but im confuse on how that works. I know for a simple server/client application using sockets, u can just use console for the server and then a windows form for the c...
I want to create a client/server web application. The client and server can exchange data back and forth. When i say data i mean like a number, for example (0,8,7...), so everytime a client presses a button it sends a number to the server and the server send an acknowledgement back to client. The cleint side i want to put it on the in...
I want to know the requirements to build a web server, I can get a domain name and have it redirected to my IP-Address.
But I want to know the required hardware and software for the server to run.
Is Windows better or Linux?
What Server to use?
What about the hardware? RAM? Processor? etc...
And I would like to know the steps to insta...
Hi I would like to know if it's possible to create 2 raids with the PowerEdge RAID Controller (PERC) H700?
I would like to create a raid 1 with 2 SAS HD and a raid 5 with 3 SATA HD.
(all HD are of the same size)
Thank you in advance!
cheers
daniel
...
I am in the process of creating an application which will communicate with a single server where WCF Web Service(s) would be installed. I am a little new to this process and was wondering which of these two options would be better in the long run to handle the load for a significant amount of users:
1- Create and install a single Web Se...
After looking into both IonCube and Zend Guard I realized that I can not afford these products right now. So my question is are there any widely excepted stable open source PHP Encoders? Either google has failed me, they don't exist, or I'm searching for the wrong things.
...
I am writing an HTTP server in C#.
When I try to execute the function HttpListener.Start() I get an HttpListenerException saying "Access Denied".
When I run the app in admin mode in windows 7 it works fine.
Can I make it run without admin mode? if yes how?
If not how can I make the app change to admin mode after start running?
thanks...
Recently, my website was hammered with thousands of POST requests from various bots.
Instead of taking the approach of blocking these bots based on their user agent, I've decided to find a way to block all POST requests sent to my website and allow all POST requests from within my website.
I came up with the following:
RewriteEngine ...
For redirecting every request on my server to a secure connection I use
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mywebsite.com/$1 [R,L]
which works perfect.
However I need two paths not to be redirected.
Say when I access
http://www.mywebsite.com/page1/test
http://www.mywebsite.com/page2
I want to go to exactly t...
i am using RouterTik OS as my edge router. My clients are connected to one of the lan card of this router PC. One of my client has MAC book. He can discover all the clients connected to that lan card. How can i restrict my clients unable to discover each others?
...
Just wanted to know what hosting configurations famous sites use.. for example:
Facebook.com uses shared PHP/mysql hosting
php.net uses private Apache/PHP/Mysql hosting running 3 private 3Ghz/8 GB ram servers. Mysql is used as a key/value database with no joins to improve speed.
(I know those are not the real specs, they're just an e...
is it possible to use php to redirect users to page i.e. busy.php when the server is busy or overcrowded, or something similiar? thanks :))
...