site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Begin forwarded message: From: Ryan Lum <cow@launchpc.com> Date: 17 mei 2005 00:52:20 GMT+02:00 To: Jonas Maebe <jonas@zeus.ugent.be> Subject: Re: Bsd sockets and GCC 4.0 On 5/16/05 4:47 PM, "Jonas Maebe" <jonas@zeus.ugent.be> wrote: Output: This is good advice; I suggest following it :-} A good, basic, intro is at <http://www.ecst.csuchico.edu/~beej/guide/net/html/> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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] 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. A much better, more in-depth treatment is in W. Richard Stevens' book "Unix Network Programming", v1, 2ed or 3ed (Prentice Hall). This email sent to site_archiver@lists.apple.com