🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #134

Data communications and OS2 threads

#134
From: Julian Hansen
Date: Tue, 03 Nov 1992 08:24
27 lines
1930 bytes
Hello world

I am totally ignorant about anything OS2 but I am writing a programme that
will run under the OS2 environment. The programme is an on line dial up
information programme which uses the telephone network. The programme
manageing the whole thing creates a new 'thread' each time a call comes in
and runs my code for each call. What I need to know is has anyone out there
any tips for me - I really need some input on how OS2 passes the characters
comming in via the telephone line to the different versions of my code i.e.
what function do I envoke to a) check if a character is sitting in the
communication buffer and b) if there is a character how do I get it out of
the buffer.

Thanks to all those who will reply.

julian


----------------------------------------------------------------------------
                                                   VVVVVVV
                                                  /       \
Julian Hansen                                    / _     _ \   I'm Back
University of Cape Town                          |/_\   /_\|  /
South Africa                              ____   ||o|   |o|| / ____
email: julian@sun-3.cs.uct.ac.za   -------VVVV---|---\ /---|---VVVV------
                                                      U 
----------------------------------------------------------------------------
Technical Details
Message-ID: <julian.720779089@sun-1>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!olivea!charnel!psgrain!hippo!shrike.und.ac.za!casper.cs.uct.ac.za!sun-1!julian

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!olivea!charnel!psgrain!hippo!shrike.und.ac.za!casper.cs.uct.ac.za!sun-1!julian
From: julian@sun-1.cs.uct.ac.za (Julian Hansen)
Newsgroups: comp.os.os2.programmer
Subject: Data communications and OS2 threads
Summary: Help - data communication and OS2 threads
Keywords: Data comm.
Message-ID: <julian.720779089@sun-1>
Date: 3 Nov 92 08:24:49 GMT
Sender: news@casper.cs.uct.ac.za (news)
Organization: Computer Science Department, University of Cape Town
Lines: 27