Mail Archives: djgpp/1998/02/06/12:16:09
On Fri, 06 Feb 1998 14:29:22 +0100 in comp.os.msdos.djgpp Gruber
Gerhard <g DOT gruber AT sis DOT co DOT at> wrote:
: George Foot wrote:
: > Tests show that the Winsock is actually quite a fast way to
: > communicate. It only supports AF_INET with [SOCK_STREAM and
: > IPPROTO_TCP] or [SOCK_DGRAM and IPPROTO_UDP] though.
: >
: > If you're really interested in more details on this, let me know
: > privately and I can explain in more detail/accuracy and send examples.
: Wouldn't it be good to put this explanation into a FAQ or some thing
: like that? I think that there are more people interested in this
: (including me :) ).
It probably is in an FAQ somewhere; have you looked around for sockets
tutorials? Being able to communicate between processes is quite a
common thing; once you understand how sockets are organised it's
fairly clear that you can loop back to the same machine. Indeed, if
you do a getsockname on an unconnected socket you invariably get the
localhost address of that socket -- 127.0.0.1:some_port.
--
george DOT foot AT merton DOT oxford DOT ac DOT uk
Remember what happened to the dinosaur.
- Raw text -