freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] tds_socketpair on windows
- Date: Sun, 1 Apr 2012 17:27:09 +0100
Il giorno 01/apr/2012, alle ore 16:35, "James K. Lowden"
<jklowden AT freetds.org> ha scritto:
> On Sun, 1 Apr 2012 11:24:18 +0100
> Frediano Ziglio <freddy77 AT gmail.com> wrote:
>
>> Probably I'll rewrite this code using events (on Windows), for the
>> moment streams are also ok.
>
> Could you explain that a little bit? Are you thinking of abandoning
> the winsocket API?
>
> --jkl
No, socket are required to use tcp/ip. In this case socketpair is used to
stop select. To do this in Windows you can associate a system event to a
socket with WSAEventSelect so you can wait for events with
WaitForSingleObject and stop it just setting the event.
More Windows style and less resources used.
I think in Linux I could use event_fd.
Using socketpair is the more portable way.
>
Frediano
-
[freetds] tds_socketpair on windows,
Ludo Brands, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
[freetds] RE : tds_socketpair on windows,
Ludo Brands, 04/01/2012
-
Re: [freetds] RE : tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] RE : tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
Re: [freetds] RE : tds_socketpair on windows,
James K. Lowden, 04/01/2012
- Re: [freetds] RE : tds_socketpair on windows, Frediano Ziglio, 04/02/2012
-
Re: [freetds] RE : tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] RE : tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
Re: [freetds] RE : tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
James K. Lowden, 04/01/2012
- Re: [freetds] tds_socketpair on windows, Frediano Ziglio, 04/02/2012
- Re: [freetds] tds_socketpair on windows, James K. Lowden, 04/03/2012
- Re: [freetds] tds_socketpair on windows, Frediano Ziglio, 04/05/2012
-
Re: [freetds] tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
James K. Lowden, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
-
[freetds] RE : tds_socketpair on windows,
Ludo Brands, 04/01/2012
-
Re: [freetds] tds_socketpair on windows,
Frediano Ziglio, 04/01/2012
Archive powered by MHonArc 2.6.24.