Ok this is going to sound stupid... I created a simple socket server based on a PDF guide I found on the net called "Beej’s Guide to Network Programming". I uploaded it to my unix based web server, compiled it into 'socket.out' and set if off using:
./socket.out&
command as per some instructions in my earlier post. I then tried to connect to it using my web server's address and the pre-determined port number. Needless to say, it didn't work!
However, that's not so much the problem.... now, I can't get the dang thing to die!! If I try to delete the file using ftp I just get a "file or process busy" error message. I also tried messing around with the "kill" command in telnet but couldn't figure it out.
Can anyone tell me how to shoot this blighter in the head, delete it so I can try again?
PS: I've successfully got a perl script to accept and reply to incoming socket connections. Basically, I'm trying to do the same thing with C/C++ on unix.
programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
./socket.out&
command as per some instructions in my earlier post. I then tried to connect to it using my web server's address and the pre-determined port number. Needless to say, it didn't work!
However, that's not so much the problem.... now, I can't get the dang thing to die!! If I try to delete the file using ftp I just get a "file or process busy" error message. I also tried messing around with the "kill" command in telnet but couldn't figure it out.
Can anyone tell me how to shoot this blighter in the head, delete it so I can try again?
PS: I've successfully got a perl script to accept and reply to incoming socket connections. Basically, I'm trying to do the same thing with C/C++ on unix.
![[cry] [cry] [cry]](/data/assets/smilies/cry.gif)

programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.