TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Russell Coker
from: Mike Bilow
date: 1995-04-15 14:49:46
subject: Tcp/Ip And Sockets

Russell Coker wrote in a message to Jim Archer:

RC> I recommend books on UNIX programming, they taught me almost 
RC> everything I needed to know about TCP/IP programming under OS/2.

 JA> There are some very important differences in programming TCP/IP for
 JA> unix and OS/2. The unix book is OK for the general concepts, but some
 JA> aspects are different, most notably error handling and controlling
 JA> blocking. Unfortunatly, I have been unable to find a descent book, in

 RC>    In what way?  I admit I haven't gone very far into TCP/IP
 RC> programming in UNIX, but from what I've seen there's no
 RC> major difference that counts.  The UNIX books are great for
 RC> the theory, and then the IBM doco is satisfactory for
 RC> information on parameters...  The hard part is working out
 RC> the theory, once you've got that there's no major hassle
 RC> with parameters for functions etc. 

Without getting off on a tangent, there is no such thing as a standard Unix
TCP/IP implementation.  You have a common base with a lot of similarity
across platforms, but you also have some really oddball implementations
such as Xenix.  Almost all reference books pick one or another Unix flavor
and describe its interface.  Even Berkeley Unix has fairly radical changes
from one version to the next.

I suppose that what most people mean when they talk about "Unix
TCP/IP" these days is POSIX, and that actually is not so far from
OS/2.  However, Jim is also very right about OS/2 being different,
especially since most Unix is not multi-threaded, and multiple threads are
a natural way to do a lot of the nonsense with TCP/IP that is often handled
in Unix by asynchronous signals and such.  While it is possible to use
TCP/IP on OS/2 in the same general way as Unix, throwing away
multi-threading leads to an architecture that is not optimal.
 
-- Mike


---
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 323/107 150 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.