Error 22/invalid Argument Bind
Contents |
here for a quick overview of the site Help Center Detailed answers error 22 invalid argument mac to any questions you might have Meta Discuss the workings
Error 22 Invalid Argument Zip
and policies of this site About Us Learn more about Stack Overflow the company Business
Mount Error 22 Invalid Argument
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Nomachine Error 22 Invalid Argument
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up C sockets raises error code 22, EINVAL - invalid argument up vote 5 down vote favorite The example code below works as as a svr4 error 22 invalid argument server process. But when I add the line pid_t childpid; below struct sockaddr_in servaddr, clientaddr; it fails at line connectfd = accept(listenfd, (struct sockaddr *) &clientaddr, &clientaddrlen); with the error code 22, EINVAL - invalid argument. I'm new to sockets in C and I couldn't understand the problem, can you help me about this? Thanks. #include
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Non-*NIX Forums > Programming bind() fail while binding to an http://www.linuxquestions.org/questions/programming-9/bind-fail-while-binding-to-an-ipv6-address-339024/ IPv6 Address User Name Remember Me? Password Programming This forum is for all programming questions. The question does not have to be directly related to Linux and any language is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our error 22 newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems error 22 invalid with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 07-01-2005, 07:21 AM #1 ydb82 LQ Newbie Registered: Jul 2005 Posts: 5 Rep: bind() fail while binding to an IPv6 Address I enabled IPv6 on Redhat Linux 7.3