Michael C. Toren on 4 Mar 2004 16:46:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Weird Bash Question


On Thu, Mar 04, 2004 at 11:29:09AM -0500, Jeff Abrahamson wrote:
> Hmm, that's cool, I didn't know that.  Is that a bash-ism, a
> linux-ism, or can I really say this:

It's a standard BSD sockets feature.

>     saddr.sin_port = 0;      /* Gabe said I could do this */
[..]
> and expect it to work on most unices?

Yup.

> He's trying to waste my time, because he knows I've been doing socket
> programming this week and am easily distracted by socket questions!

You'll probably want to look over "Beej's Guide to Network Programming",
available at <http://www.ecst.csuchico.edu/~beej/guide/net/html/>, and the
Unix Sockets FAQ, at <http://www.manualy.sk/sock-faq/unix-socket-faq.html>,
if you haven't done so already.

-mct
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug