Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bsd sockets and GCC 4.0




Begin forwarded message:

From: Ryan Lum <email@hidden>
Date: 17 mei 2005 00:52:20 GMT+02:00
To: Jonas Maebe <email@hidden>
Subject: Re: Bsd sockets and GCC 4.0

On 5/16/05 4:47 PM, "Jonas Maebe" <email@hidden> wrote:

Thanks for all your help, I actually just typoed the code I posted. Sorry.
Here is the whole function. I am not interested in the DIKU_WINDOWS code.
[snip]
Output:

error 48 on socketpair (errno)

Do you know what this means? Do you know how to turn an error number into a meaningful message?


[snip]
I don't have time right now to read the man bind text or google for the
socketpair error, but I imagine it will probably help fix the error. Can
anyone recommend a good book that covers bsd sockets. I imagine I will have to actually read about sockets before I figure this out.

This is good advice; I suggest following it :-}

A good, basic, intro is at
    <http://www.ecst.csuchico.edu/~beej/guide/net/html/>

A much better, more in-depth treatment is in W. Richard Stevens' book "Unix Network Programming", v1, 2ed or 3ed (Prentice Hall).

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
It's not whether you win or lose...
It's whether *I* win or lose.
--------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Fwd: Bsd sockets and GCC 4.0 (From: Jonas Maebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.