Jump to content

skliz4rel

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

skliz4rel's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I figured out the error. It is because I am performing a mutiple pool. which is stressing the server tanks alot.
  2. Please I am developing a chat application. I need script to push back message from server db to client when users are chatting. I have been using pooling through ajax but it is running down my server each time multiple people connect to it. I have tried the Ape framework. But I dont understand it. It is all written in C. please some one helpp !!. I also tried socket but I am new and I thinking of browsers that dont yet support it. By the way I have gone very far in the project and dont know how to slot in socket into the codes.
  3. ok. it is a windows OS and it is a server OS. The machine as been used to host server applications
  4. $('#message').bind('keypress',function (e){ if(e.keyCode == 13){ //This line would check if the enter key was pressed var message = $('#message').val(); message = $.trim(message); return true; }); }); For IE7 OR IE 8 the code enters the if statement but it does not send the message
  5. Hello every body, I am posting a form to an IFrame with my submit button. But I want to enable it to work with enter button. though I was able to do it on IE9 and other browsers but it does not work on IE7 or IE8 plse does anybody have a script that would work on IE7 and IE8.
  6. Hello everybody, I am currently working on an enterprise chat application. presently I have finished the application. The application is installed on a webserver running on wampserver. each time more the 5 people connect to the application the apache stops responding. It get so bad that you wont be able to run localhost on your browser. please how can I increase memory on the apache server to accomodate the request on the server. How can I solve this problem. I confused here. Is this problem happening because it is running on wampserver. Or what could be the problem.
  7. Thanks alot, I would try that
  8. The output is 6. Bro what does it mean?
  9. this is the code <?php $PORT = 1234; //the port on which we are connecting to the "remote" machine $HOST = "127.0.0.1"; //the ip of the remote machine (in this case it's the same machine) $sock = socket_create(AF_INET,SOCK_STREAM, 1) //Creating a TCP socket or die("error: could not create socket\n"); $succ = socket_connect($sock, $HOST, $PORT) //Connecting to to server using that socket or die("error: could not connect to host\n"); $text = "Hello, Java!"; //the text we want to send to the socket_write($sock, $text . "\n", strlen($text) + 1) //Writing the text to the socket or die("error: failed to write to socket\n"); $reply = socket_read($sock, 10000, PHP_NORMAL_READ) //Reading the reply from socket or die("error: failed to read from socket\n"); echo $reply; ?> sorry i think i posted the wrong message. This is the rite error message. Warning: socket_create() [function.socket-create]: Unable to create socket [0]: The requested protocol has not been configured into the system, or no implementation for it exists. in C:\wamp\www\socket\client.php on line 4 i am trying to use my java and php code to communicate through socket. But i am having problems with socket at php level.
  10. i have been working to works. but any time i use the method socket_read(); or socket_write(); my apache server gives me an error undefined method pls want could be responsible for this error. i am quite sure of the syntax
  11. Please i have questions on how to create a file system server. were you clients could upload files and download their files in the future. Is this professional to store the files in database
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.