Do Sockets Cache?



Hello :)

Wonder someone can save some of my hair here.

I have a daemon application listening as root on my linux server that i have
written in PHP. I use it to communicate web user with the backend linux to
make certain operations from web interface. I have a login/verify command
that i send to socket server to log in. I send raw command something like
(login user hash) ;

client command -> login admin Fjsdla5dk2mDke
server response -> YES/NO

Server reads from a plain text file containing user/hash and gives yes or
no.

But it is working like a lottery, sometimes yes sometimes no through WEB.
When i test through shell, telnet or etc. it is fine, through web it
sometimes outputs YES, sometimes outputs nothing (does not give NO), like it
is not even connecting or getting no response at all. I have test mechanisms
for valid connection and data send.

So i get this crazy idea of caching for connections on web.

What do you think?

--Aras
.



Relevant Pages

  • Re: [PHP] Do Sockets Cache?
    ... I use it to communicate web user with the backend linux to ... that i send to socket server to log in. ... I send raw command something like ... is not even connecting or getting no response at all. ...
    (php.general)
  • Re: Still have problem with DNS forwarding
    ... I would dearly like to not only unplug the linux server, ... >What do you have as the DNS address on them?? ... >>>SBS should "optimally" have two nics ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Configuring GNOME to automatically start screensaver after user logged in - Fedora Core 6
    ... Unfortunately this is the only linux server in my network... ... wasn't able to try connecting via F10 at the login screen. ... it presents me with a login and I am able to log in. ...
    (linux.redhat)
  • samba file deletes slow
    ... I use this method to move backups from the Linux server to burn them on ... ldap machine suffix = ou=People ...
    (Debian-User)
  • Ls command OF UNIX
    ... retrieving directory listing of that server by sending ls command. ... containing information about group in separate column. ... connecting to sever ‘ftp.sun.com', after sending ls command, it is not ...
    (comp.unix.shell)