![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sed h and g options | sivasenthil_k | Shell Programming and Scripting | 9 | 01-04-2006 09:21 AM |
| Socket Programming socket | soshell | High Level Programming | 2 | 06-29-2004 08:49 AM |
| cat and wc options | Laura01 | Shell Programming and Scripting | 1 | 09-09-2002 12:21 AM |
| socket options | hufs375 | IP Networking | 1 | 05-09-2002 02:02 PM |
| cp options | milage | UNIX for Dummies Questions & Answers | 3 | 07-13-2001 01:20 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
socket problems with cc compile options???
Hi there, a newbie as far as compiling c.
I have a problem, I've ported a fairly simple perl socket program over to c. I compiled it as follows cc simplesocket.c -lsocket -lnsl compiles great, no errors. When I launch it from the command line, it works great!!!! However, if I launch this program from within another socket program ( a perl socket server (listener) program, basically doing an exec of this compiled program ). The server program has no problems launching any other kinds of socket apps. Is there some option I need to tell the compiler that will tell the program it will be running beneath another socket program???? Once again a newbie, any help appreciated. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|