• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bsd sockets and GCC 4.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bsd sockets and GCC 4.0


  • Subject: Re: Bsd sockets and GCC 4.0
  • From: Justin Walker <email@hidden>
  • Date: Fri, 20 May 2005 21:11:17 -0700


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Bsd sockets and GCC 4.0
      • From: Justin Walker <email@hidden>
References: 
 >Fwd: Bsd sockets and GCC 4.0 (From: Jonas Maebe <email@hidden>)

  • Prev by Date: access root's default database
  • Next by Date: Re: Bsd sockets and GCC 4.0
  • Previous by thread: Re: Bsd sockets and GCC 4.0
  • Next by thread: Re: Bsd sockets and GCC 4.0
  • Index(es):
    • Date
    • Thread