| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Access TCP/IP |
On Monday, 4 January 1999,
CHRIS ALBERTSEN wrote to IVAN TODOROSKI about Access TCP/IP
IT>> a list of sites which carry RFC documents (indexed and searchable by
IT>> title and content) and I'm sure you'll find some RFC that describes
IT>> this protocol in full detail...
CA> I got the RFC's on NTTP, and a few others on SMTP, POP3, and TCP,
CA> and they explain how it all works great. I just can't seem to
CA> figure out how to access the TCP stack (I think that's what I
CA> need) with my C++ compiler. I use Watcom 10.6
Well you'll need the TCP/IP Developers Toolkit (or whatever it is
called) which contains the header files and libraries with functions
for creating and accessing sockets etc, and I think this costs money.
Or you can download EMX which comes with all that by default, and
start crunching code right away... EMX is completely free, BTW.
And it has an advantage over IBM's approach to socket programming
because it treats socket handles like simple file handles, and you can
read and write to them simply by using C file I/O functions and wait
for I/O from them using the select() call just as if they were
ordinary files or character devices (you can still use the specialized
socket I/O functions if you like), while the IBM toolkit has a
separate handle space for sockets (this isn't really such a drawback
for IBM's toolkit, but I thought I'd mention it anyway).
OTOH, EMX doesn't provide access to special OS/2 specific high
performance socket I/O functions (sysctl() to allocate and enable
special buffers, and then using the MSG_MAPIO flag in send() to
actually use them), because they aren't found in the standard BSD 4.4
socket implementation, and therefore are not supported by EMX (which
strives toward Unix/POSIX compatibility). Once again, this isn't such
a big drawback for EMX, since the underlying OS/2 TCP stack is very
optimized, and you'll need a VERY bussy high-throughput server to
actually see any difference and benefit from using those specialized
functions.
- Ivan -
.!. REAL programmers use undocumented calls...
--- Terminate 5.00/Pro [OS/2]
þ TerMail/QWK þ
* Origin: GET ALL YOUR FIDO HERE! telnet://bbs.docsplace.org (1:3603/140)SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252 SEEN-BY: 670/218 @PATH: 3603/140 396/1 633/260 635/506 728 633/267 |
|
| 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™.