Thank you both for your suggestions -- it turns out that I was making this much more difficult than it needed to be. Since inetd has already set up the server to listen on an assigned port, and tcpd checks all potential clients that try to connect with that server, all I had to do was add this...
I am in the process of writing a Linux server program (written in Perl) which makes a socket connection with a Windows NT client program (written in Visual Basic). Once the client connects to the server, the client passes information read from a file through the socket connection to the server...
I did update inetd with the 'kill' command -- the client/server socket connection itself works fine (the two machines are communicating), I just can't figure out how to pass data from the VB client to the Linux server. In researching this, I did come across a website which said:
"INETD...
This should have been included in my previous post -- what I'm looking for is the "inetd" equivalent of the <$new_sock> handle in the above code; I am not sure how to refer to the server-side socket using the inetd configuration. Thanks again,
Carrie
My question encompasses quite a few different forums, but since I'm having problems with Perl on a Red Hat Linux machine, I'll try here first.
Basically, I have a Linux server program (written in Perl)making a socket connection with a Windows NT client program (written in Visual Basic). Once...
Zyrenthian and smaniraja,
Thank you both for your suggestions--I went with the second option of just adding the 'f' to 0.01 in my while comparison, and it works great! I knew that there had to be some simple way to fix the problem, and there was! Thanks again.
Carrie
Just a quick question--is there a way to do an accurate comparison of floating point numbers? Here's an excerpt of the code that I'm working on:
//this while loop will be executed if the user
//enters a negative or zero value as a check
//amount
while( *ptr < 0.01)
{
printf("Please...
I have scoured this FAQ and all documentation that I could find on this subject, tried several suggested changes, and I still cannot disable a selected menu item! I am working on an MFC AppWizard executable program using Visual Studio 6.0. Here is the code that I currently have:
In my App .h...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.