Hi Kai!
On Wed, Feb 6, 2013 at 9:56 AM, Kai Tietz wrote:
> Streams in binary mode for native Windows sockets? errhh
>
> Anyway Frank,
>
> be sure that works. Sockets are bi-directional and you can write to
> them in one thread and poll for data in another thread without issues.
> I have already
Streams in binary mode for native Windows sockets? errhh
Anyway Frank,
be sure that works. Sockets are bi-directional and you can write to
them in one thread and poll for data in another thread without issues.
I have already done that in the past without issue.
Regards,
Kai
--
On Wed, Feb 6, 2013 at 8:32 AM, K. Frank wrote:
> I'm going to go with the working assumption that I can use two
> threads with a winsock socket, but I'll keep my eyes open, just
> in case.
You might want to be sure the streams are set to binary mode and be
careful of buffering.
--
Earnie
-- htt
Hi Earnie!
On Wed, Feb 6, 2013 at 7:32 AM, Earnie Boyd
wrote:
> On Tue, Feb 5, 2013 at 8:44 PM, K. Frank wrote:
>> Hello List!
>>
>> Not really a pure mingw-w64 question, but maybe someone here knows
>> the answers.
>>
>> Socket connections go two ways -- you can read from and write to them.
>> W
On Tue, Feb 5, 2013 at 8:44 PM, K. Frank wrote:
> Hello List!
>
> Not really a pure mingw-w64 question, but maybe someone here knows
> the answers.
>
> Socket connections go two ways -- you can read from and write to them.
> With a standard windows socket, is it safe to use one thread for reading
>