TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Russell Coker
date: 1995-04-26 22:47:32
subject: Tcp/Ip And Sockets

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

   Well I don't consider Xenix to be UNIX at all, from what I know of it
it's too different from the regular varieties.  I agree however that there
are differences, but generally the same code will work without too many
changes.

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

   The difference is not so great.  Just consider a UNIX program that uses
multiple processes to be equivalent to an OS/2 program with multiple
threads and things are very similar.  What you do in UNIX with multiple
processes can almost always be done with multiple threads, but with threads
you can do some other things (like dynamicaly creating sockets and sharing
them between threads) that you can't do with processes.


   cya


--- Maximus/2 2.02
* Origin: Multi - 61-3-739-7145 - multi.apana.org.au (3:633/363)
SEEN-BY: 620/243 632/103 341 348 363 998 633/154 252 260 363 371 373 379
SEEN-BY: 634/384 635/301 502 503 636/100 638/100 640/820 690/660 711/409 410
SEEN-BY: 711/413 430 807 808 809 934 949 955 712/515 713/888 800/1 7877/2809
@PATH: 633/363 260 371 635/503 632/348 711/409 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™.