In message <[EMAIL PROTECTED]> you wrote: > > My application Seg Faults when I try to set flags for my socket fd. > > First, I get the fd by calling socket(): > fd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); > > Then I try getting the fd flags: > fcntl(fd, F_GETFL, flags)
Provide some working / crashing test code, i. e. a complete C program with declarations etc. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] There's an old story about the person who wished his computer were as easy to use as his telephone. That wish has come true, since I no longer know how to use my telephone. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
