-
Junior Member
registered user
developing a tcp server being used in knoppix
I'm having some pretty interesting issues. I can put up code on request, but it doesnt seem to be a code issue.
I've built a process that uses a C++ server and a PHP client (hosted via apache) that communicate via localhost Tcp. On my Gentoo dev machine, they work great. Moving things to Knoppix, the accept() call in the server returns "Invalid Argument".
I do have slightly different versions of apache, gcc, etc...as apt-get and emerge rab slightly different things by default. But i did a little cross-testing, heres where things get interesting..
When I boot IN KNOPPIX and chroot into my gentoo partition, I run my server executable. I run the client in the a regular Knoppix web browser (ie my knoppix apache) and it works.
I boot IN KNOPPIX, re-configure and re-make the server code that is IN MY GENTOO PARTITION (so I'm using Knoppix gcc, libs, etc). I run that executable from a Knoppix shell, it fails. I chroot into my gentoo partition and run that new executable, built from the knoppix shell, and run it..and the whole process works.
Boy oh boy am i lost. I am totally willing to put together a stripped down version of this issue if someone wants to see it. But I'm thinking/hoping its something to do with the way Knoppix is put together, and i dont really know much about its trickery..
thanks, dave
Similar Threads
-
By mk in forum Networking
Replies: 0
Last Post: 03-26-2005, 01:52 PM
-
By jpiranha in forum Hdd Install / Debian / Apt
Replies: 19
Last Post: 09-24-2004, 05:02 PM
-
By amm in forum MS Windows & New to Linux
Replies: 1
Last Post: 07-09-2004, 11:41 PM
-
By cmcclean in forum General Support
Replies: 1
Last Post: 10-03-2003, 01:52 PM
-
By Robert Michel in forum Ideas
Replies: 0
Last Post: 02-26-2003, 01:21 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Vintage Rare California Computer Systems Boards for Altair IMSAI S-100 Systems
$345.00

Vintage Rare Cromemco Boards for Altair IMSAI S-100 Systems
$295.00

SSM IO-4 S100 I/O Interface Board 2-Serial 2-Parallel Altair IMSAI Untested
$119.99

MITS 88 SIOB Serial-TT, An Single Serial I/O Port S-100Board For the Altair 8800
$189.95

Computer Retrospective DDP-116 SEAC UNIVAC DEC PDP-8 Altair 8800 Cray-1 CDC 6600
$65.00

MITS Altair 8800 4K RAM Board
$675.00

Vintage Octagon 256K Static RAM (32 x HM6264LP-12) Board S-100 Altair IMSAI
$150.00

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00